inc/unieditorpluginloader.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 47 5b14749788d7
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
    52     /**
    52     /**
    53      * Gets the UniEditor's intended plugin.
    53      * Gets the UniEditor's intended plugin.
    54      * @param messageType
    54      * @param messageType
    55      */
    55      */
    56     UniEditorPluginInterface* getUniEditorPlugin(ConvergedMessage::MessageType messageType);
    56     UniEditorPluginInterface* getUniEditorPlugin(ConvergedMessage::MessageType messageType);
    57 
    57  
    58     /**
       
    59      * Loads plugins
       
    60      */
       
    61     void loadPlugins();
       
    62 
       
    63 private:
    58 private:
    64     /**
       
    65      * This shall store all the message types
       
    66      * mapped to plugin instance
       
    67      */
       
    68     QMap<int, UniEditorPluginInterface*> mEditorPluginMap;
       
    69 	
       
    70     /**
    59     /**
    71      * Keep a list of all the pluginloaders used
    60      * Keep a list of all the pluginloaders used
    72      */
    61      */
    73     QList<QPluginLoader* > mPluginLoaderList;
    62     QList<QPluginLoader* > mPluginLoaderList;    
    74 };
    63 };
    75 
    64 
    76 #endif //UNI_EDITOR_LOADER_H
    65 #endif //UNI_EDITOR_LOADER_H