aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/isocialnetworkintegration.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-11-09 18:14:20 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-09 18:00:56 -0800
commitf5f2c37184f7ab4e5712b4c74d4456ca6da87eb8 (patch)
tree4d6e459481d5d8036e1ad889ada2a8e14448b1f7 /subsurface-core/isocialnetworkintegration.h
parent66091ff853fe16495c981a5f8deff285cd310358 (diff)
downloadsubsurface-f5f2c37184f7ab4e5712b4c74d4456ca6da87eb8.tar.gz
Remove the PluginSystem
But keep the Interface so it's still userfull to create a new SocialNetwork when needed, but it will be part of the code, and not a plugin. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/isocialnetworkintegration.h')
-rw-r--r--subsurface-core/isocialnetworkintegration.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/subsurface-core/isocialnetworkintegration.h b/subsurface-core/isocialnetworkintegration.h
index 0a38f951f..70ea3d9ab 100644
--- a/subsurface-core/isocialnetworkintegration.h
+++ b/subsurface-core/isocialnetworkintegration.h
@@ -10,8 +10,11 @@
* We bundle facebook integration as an example.
*/
-class ISocialNetworkIntegration {
+class ISocialNetworkIntegration : public QObject {
+ Q_OBJECT
public:
+ ISocialNetworkIntegration(QObject* parent = 0);
+
/*!
* @name socialNetworkName
* @brief The name of this social network
@@ -67,6 +70,4 @@ public:
virtual void requestUpload() = 0;
};
-Q_DECLARE_INTERFACE(ISocialNetworkIntegration, "org.subsurface.ISocialNetworkIntegration.v1")
-Q_DECLARE_METATYPE(ISocialNetworkIntegration*);
#endif \ No newline at end of file