- Added a run-time enable/disable control, for nested add/modify calls.
This commit is contained in:
Paul Beckingham 2014-09-09 23:36:45 -04:00
parent 1fc388886f
commit 7e35508bb4
2 changed files with 61 additions and 47 deletions

View file

@ -39,6 +39,7 @@ public:
Hooks& operator= (const Hooks&); // Deliberately unimplemented
void initialize ();
bool enable (bool);
void onLaunch ();
void onExit ();
@ -51,6 +52,7 @@ private:
std::vector <std::string> scripts (const std::string&);
private:
bool _enabled;
std::vector <std::string> _scripts;
};