14 # include <wx/msw/wrapwin.h> 63 static void SetAppStartedUp(
bool app_started_up);
64 static void SetAppShuttingDown(
bool app_shutting_down);
65 static void SetBatchBuild(
bool is_batch);
68 static void BlockYields(
bool block);
71 static void ProcessPendingEvents();
72 static void Shutdown();
91 static bool IsAppShuttingDown();
92 static bool IsAppStartedUp();
132 static void InitXRC(
bool force=
false);
134 static void LoadXRC(
wxString relpath);
135 static bool LoadResource(
const wxString& file);
140 static wxMenu* LoadMenu(
wxString menu_id,
bool createonfailure =
false);
149 static bool isToolBar16x16(
wxToolBar* toolBar);
158 void RemoveAllEventSinksFor(
void* owner);
197 static bool Valid() {
return instance; }
201 if (instance ==
nullptr)
203 if (isShutdown ==
false)
204 instance =
new MgrT();
206 cbAssert(
false &&
"Calling Get after the subsystem has been shutdown is an error!");
cbSearchResultsLog * m_SearchResultLog
static bool m_AppShuttingDown
Manage different personalities.
Event used to request from the main app to add a log.
Event used to request from the main app to add a window to the docking system.
std::vector< IEventFunctorBase< CodeBlocksLayoutEvent > *> LayoutEventSinksArray
std::vector< IEventFunctorBase< CodeBlocksEvent > *> EventSinksArray
std::map< wxEventType, DockEventSinksArray > DockEventSinksMap
static bool m_AppStartedUp
A generic Code::Blocks event.
PluginManager manages plugins.
std::map< wxEventType, LogEventSinksArray > LogEventSinksMap
static bool m_BlockYields
LayoutEventSinksMap m_LayoutEventSinks
LogEventSinksMap m_LogEventSinks
Base abstract event functor class.
DockEventSinksMap m_DockEventSinks
std::vector< IEventFunctorBase< CodeBlocksDockEvent > *> DockEventSinksArray
static bool IsBatchBuild()
Code Completion Plugin Manager.
std::map< wxEventType, EventSinksArray > EventSinksMap
std::map< wxEventType, LayoutEventSinksArray > LayoutEventSinksMap
std::vector< IEventFunctorBase< CodeBlocksLogEvent > *> LogEventSinksArray
The entry point singleton for working with projects.
Provides scripting in Code::Blocks.
EventSinksMap m_EventSinks
Mgr< MgrT > & operator=(Mgr< MgrT > const &)
void SetSearchResultLogger(cbSearchResultsLog *log)
Sets the pointer to the search result logger, users must not call this method.
cbSearchResultsLog * GetSearchResultLogger() const
Returns pointer to the search result logger, might be nullptr or hidden.
static wxCmdLineParser m_CmdLineParser
Event used to request from the main app to manage the view layouts.