mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 05:36:15 +00:00
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 |