32 if (it->second == functor)
67 functor->
Call(project, elem, isLoading);
DLLIMPORT void CallHooks(cbProject *project, TiXmlElement *elem, bool isLoading)
Call all registered hooks using the supplied parameters.
std::map< int, HookFunctorBase * > HookFunctorsMap
Provides static functions to add hooks to the project loading/saving procedure.
DLLIMPORT HookFunctorBase * UnregisterHook(int id, bool deleteHook=true)
Unregister a previously registered project loading/saving hook.
Represents a Code::Blocks project.
DLLIMPORT int RegisterHook(HookFunctorBase *functor)
Register a project loading/saving hook.
static HookFunctorsMap s_HookFunctorsMap
Abstract base hook functor interface.
DLLIMPORT bool HasRegisteredHooks()
Are there any hooks registered?
virtual void Call(cbProject *, TiXmlElement *, bool) const =0