subsurface/subsurface-core/pluginmanager.h
Tomaz Canabrava 66d3e99ff2 Add a PluginManager class
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>
2015-10-30 10:36:51 -07:00

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