27 #ifndef EXTENSIONS_MANAGER_H 28 #define EXTENSIONS_MANAGER_H 38 #include <QPluginLoader> 39 #include <QStringList> 72 static void autoload();
113 static QString getInstallationString(QString file,
const QString& globalInstallDir,
const QString& userInstallDir,
const QString& currentWorkingDir);
133 static const QList<ComponentExtension*> getComponentExtensionsList();
150 static const QList<ComponentExtension*> getDataDirectoryComponentsList();
153 static QStringList getFileExtensions();
156 static QStringList getDataDirectoryExtNames();
162 static void registerFileExtension(QString fileExtension);
167 static bool unloadComponentExtension(QString);
175 static void unloadAllActionExtensions();
187 static const QList<ActionExtension*> getActionExtensionsList();
202 static bool unloadActionExtension(QString);
213 static QMap<QString, ComponentExtension*>& getComponentExtensionMap();
222 static QMap<QString, ComponentExtension*>& getDataDirectoryComponentExtensionMap();
231 static QMap<QString, ActionExtension*>& getActionExtensionMap();
234 static QStringList getExtensionFilter();
237 static QStringList getPluginFileNames(QDir);
245 static void initPrivateLibDirs();
283 #endif //EXTENSIONS_MANAGER_H MainWindow extensions: manages the application logic.
Definition: ExtensionManager.h:67
Definition: Action.cpp:36
This class describes what is a generic Component extension.
Definition: ComponentExtension.h:57
#define CAMITK_API
Definition: CamiTKAPI.h:49
This class describes what is a generic Action extension.
Definition: ActionExtension.h:59
This class is used to manage all plugins loaded by the application.
Definition: ExtensionManager.h:57
Component extensions: manages the data logic.
Definition: ExtensionManager.h:66
Action extensions: manages the processing logic.
Definition: ExtensionManager.h:65
ExtensionType
describes the CamiTK Extension Type (Action, Component, Application...).
Definition: ExtensionManager.h:64