20 #ifndef _STELMODULEMGR_HPP_
21 #define _STELMODULEMGR_HPP_
26 #include "StelModule.hpp"
27 #include "StelPluginInterface.hpp"
31 #define GETSTELMODULE( m ) (( m *)StelApp::getInstance().getModuleMgr().getModule( #m ))
54 void unloadModule(
const QString& moduleID,
bool alsoDelete=
true);
81 return callOrders[action];
106 void generateCallingLists();
109 QMap<QString, StelModule*> modules;
112 QMap<StelModule::StelModuleActionName, QList<StelModule*> > callOrders;
115 bool callingListsToRegenerate;
117 QMap<QString, StelModuleMgr::PluginDescriptor> pluginDescriptorList;
118 bool pluginDescriptorListLoaded;
121 #endif // _STELMODULEMGR_HPP_