##// END OF EJS Templates
Fixed untimely update of the range to be displayed in the variable widget
Fixed untimely update of the range to be displayed in the variable widget

File last commit:

r425:b8af3b4730c2
r611:aff19a50babf
Show More
PluginManager.h
36 lines | 853 B | text/x-c | CLexer
Alexandre Leroux
Initializes plugin manager...
r66 #ifndef SCIQLOP_PLUGINMANAGER_H
#define SCIQLOP_PLUGINMANAGER_H
Alexandre Leroux
Exports core module as a shared library...
r425 #include "CoreGlobal.h"
Alexandre Leroux
Initializes plugin manager...
r66 #include <Common/spimpl.h>
#include <QLoggingCategory>
class QDir;
Q_DECLARE_LOGGING_CATEGORY(LOG_PluginManager)
/**
* @brief The PluginManager class aims to handle the plugins loaded dynamically into SciQLop.
*/
Alexandre Leroux
Exports core module as a shared library...
r425 class SCIQLOP_CORE_EXPORT PluginManager {
Alexandre Leroux
Initializes plugin manager...
r66 public:
explicit PluginManager();
/**
* Loads plugins into SciQlop. The loaded plugins are those located in the directory passed in
* parameter
* @param pluginDir the directory containing the plugins
*/
void loadPlugins(const QDir &pluginDir);
/// @returns the number of plugins loaded
int nbPluginsLoaded() const noexcept;
private:
class PluginManagerPrivate;
spimpl::unique_impl_ptr<PluginManagerPrivate> impl;
};
#endif // SCIQLOP_PLUGINMANAGER_H