- Added ::onLaunch.
This commit is contained in:
Paul Beckingham 2014-05-13 16:34:23 -04:00
parent 6cff8d9ff6
commit 39c476134f
3 changed files with 8 additions and 0 deletions

View file

@ -223,6 +223,7 @@ int Context::initialize (int argc, const char** argv)
// First opportunity to run a hook script.
hooks.initialize ();
hooks.onLaunch ();
}
catch (const std::string& message)

View file

@ -46,5 +46,10 @@ void Hooks::initialize ()
// TODO Scan <rc.data.location>/hooks
}
////////////////////////////////////////////////////////////////////////////////
void Hooks::onLaunch ()
{
}
// TODO Time the hook runs.
////////////////////////////////////////////////////////////////////////////////

View file

@ -37,6 +37,8 @@ public:
void initialize ();
void onLaunch ();
private:
};