mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps/code] The console marks imported script for the var box
After lauching the console, if we fetch a script we mark it as fetched. When the variable box displays variables from imported scripts, it scans all the variables from the scripts marked as fetched.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef CODE_SCRIPT_TEMPLATE_H
|
||||
#define CODE_SCRIPT_TEMPLATE_H
|
||||
|
||||
#include "script.h"
|
||||
|
||||
namespace Code {
|
||||
|
||||
class ScriptTemplate {
|
||||
@@ -12,11 +14,11 @@ public:
|
||||
static const ScriptTemplate * Polynomial();
|
||||
static const ScriptTemplate * Parabola();
|
||||
const char * name() const { return m_name; }
|
||||
const char * content() const { return m_value+1; }
|
||||
const char * content() const { return m_value + Script::InformationSize(); }
|
||||
const char * value() const { return m_value; }
|
||||
private:
|
||||
const char * m_name;
|
||||
const char * m_value; // hold the 'importation status' flag concatenate with the script content
|
||||
const char * m_value; // holds the 'importation status' and 'current importation status' flags concatenated with the script content
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user