Browse Source

Added Plugin::OnPostInitialize event

release/0.19
Jessica James 9 years ago
parent
commit
9a25cd744c
  1. 4
      Jupiter/Plugin.cpp
  2. 6
      Jupiter/Plugin.h
  3. BIN
      Release/Jupiter.lib

4
Jupiter/Plugin.cpp

@ -117,6 +117,10 @@ bool Jupiter::Plugin::initialize()
return true; return true;
} }
void Jupiter::Plugin::OnPostInitialize()
{
}
// Static Functions // Static Functions
void Jupiter::Plugin::setDirectory(const Jupiter::ReadableString &dir) void Jupiter::Plugin::setDirectory(const Jupiter::ReadableString &dir)

6
Jupiter/Plugin.h

@ -106,6 +106,12 @@ namespace Jupiter
*/ */
virtual bool initialize(); virtual bool initialize();
/**
* @brief This is called after all plugins have been initialized during application startup
* Note: There is no guarantee that this will be called, AND there is no guarantee that more plugins will not be loaded later
*/
virtual void OnPostInitialize();
/** IRC Listeners */ /** IRC Listeners */
/** /**

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save