mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
66d3e99ff2
This class is currently very small but the reason of existence is to allow subsurface to be easily extendable via plugins. The current type of plugin that I'm making is Social Network, but another possibilities: - Dive Simulation Algorithm - Import/Export Filters - Profile Overlays Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
19 lines
No EOL
413 B
C++
19 lines
No EOL
413 B
C++
#ifndef PLUGINMANAGER_H
|
|
#define PLUGINMANAGER_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "isocialnetworkintegration.h"
|
|
|
|
class PluginManager {
|
|
public:
|
|
static PluginManager& instance();
|
|
void loadPlugins();
|
|
QList<ISocialNetworkIntegration*> socialNetworkIntegrationPlugins() const;
|
|
private:
|
|
PluginManager();
|
|
PluginManager(const PluginManager&) = delete;
|
|
PluginManager& operator=(const PluginManager&) = delete;
|
|
};
|
|
|
|
#endif |