##// END OF EJS Templates
Makes the connection between Variable controller and Visualization controller...
Makes the connection between Variable controller and Visualization controller - Adds a slot in the visualization controller to be warned that a variable has been created - Connects the slot to the signal of the variable controller when that is emitted after variable creation

File last commit:

r66:5cbeec46f38d
r158:a3d07f8af710
Show More
PluginManager.h
34 lines | 808 B | text/x-c | CLexer
#ifndef SCIQLOP_PLUGINMANAGER_H
#define SCIQLOP_PLUGINMANAGER_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.
*/
class PluginManager {
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