##// END OF EJS Templates
Minor fix...
Minor fix Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r72:a0c89a70c83c
r95:9868166a1d6d
Show More
PluginManager.h
42 lines | 1009 B | text/x-c | CLexer
First init from SciQLop Core module...
r0 #ifndef SCIQLOP_PLUGINMANAGER_H
#define SCIQLOP_PLUGINMANAGER_H
#include "CoreGlobal.h"
#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.
*/
Fix Win build...
r49 class SCIQLOP_CORE_EXPORT PluginManager {
First init from SciQLop Core module...
r0 public:
explicit PluginManager();
Updated meson build files and force plugin unload when closing app...
r72 ~PluginManager();
First init from SciQLop Core module...
r0
/**
* 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);
/**
* Loads static plugins into SciQlop. SciQLOP supports statically linked plugins.
*/
void loadStaticPlugins();
/// @returns the number of plugins loaded
int nbPluginsLoaded() const noexcept;
private:
struct PluginManagerPrivate;
spimpl::unique_impl_ptr<PluginManagerPrivate> impl;
};
#endif // SCIQLOP_PLUGINMANAGER_H