4 #ifndef CM_OBJECTLOADER_H
5 #define CM_OBJECTLOADER_H
21 typedef UIObject* (*UIObjectConstructor)(QString objectData);
35 std::vector<std::string> _names;
36 std::vector<std::string> _pdNames;
39 std::map<std::string, UIObjectConstructor> _uiObjectConstructors;
46 ObjectLoader(ObjectLoader
const&) =
delete;
47 void operator=(ObjectLoader
const&) =
delete;
53 vector<string> getUINames();
54 vector<string> getPDNames();
56 bool hasUI(
string objName);
60 UIObject* createUIObject(QString objectData);
64 #endif // CM_OBJECTLOADER_H
static ObjectLoader & inst()
Definition: ObjectLoader.h:28
UIObject *(* UIObjectConstructor)(QString objectData)
Definition: ObjectLoader.h:21
prototype for ui externals handling
Definition: ObjectLoader.h:26
OOPD * instance
Definition: OOPD.cpp:20
Definition: UIObject.h:44