##// END OF EJS Templates
Really basic implementation of Downloader which might replace current...
Really basic implementation of Downloader which might replace current NetworkController It is currently really basic, it only does synchronous DLs with or without authentication. It is written to isolate as much as possible Qt Network classes. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1331:c1dcbf747424
r1342:91cbf8a85daf
Show More
PluginManager.h
41 lines | 968 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...
r461 #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.
*/
Modernized CMake configuration...
r1331 class 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);
Added static plugin support...
r1123 /**
* Loads static plugins into SciQlop. SciQLOP supports statically linked plugins.
*/
void loadStaticPlugins();
Alexandre Leroux
Initializes plugin manager...
r66 /// @returns the number of plugins loaded
int nbPluginsLoaded() const noexcept;
private:
Added static plugin support...
r1123 struct PluginManagerPrivate;
Alexandre Leroux
Initializes plugin manager...
r66 spimpl::unique_impl_ptr<PluginManagerPrivate> impl;
};
#endif // SCIQLOP_PLUGINMANAGER_H