mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Scripts can be automatically imported when the console is opened.
Editing, renaming, deleting or changing the auto-importation of a script triggers the reloading of the console (the history is cleared, Python restarted and the scripts re-imported). Change-Id: If8b933cc077ecd36cab09214b5e7a181aa3ae030
This commit is contained in:
@@ -15,11 +15,13 @@ public:
|
||||
ScriptParameterController(Responder * parentResponder, I18n::Message title, ScriptStore * scriptStore, MenuController * menuController);
|
||||
void setScript(int i);
|
||||
void dismissScriptParameterController();
|
||||
void scriptContentEditionDidFinish();
|
||||
|
||||
/* ViewController */
|
||||
View * view() override;
|
||||
const char * title() override;
|
||||
bool handleEvent(Ion::Events::Event event) override;
|
||||
void viewWillAppear() override;
|
||||
void didBecomeFirstResponder() override;
|
||||
|
||||
/* SimpleListViewDataSource */
|
||||
@@ -41,6 +43,7 @@ private:
|
||||
EditorController m_editorController;
|
||||
ScriptStore * m_scriptStore;
|
||||
MenuController * m_menuController;
|
||||
bool m_autoImport;
|
||||
int m_currentScriptIndex;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user