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>
This commit is contained in:
Tomaz Canabrava 2015-11-09 18:14:20 -02:00 committed by Dirk Hohndel
parent 66091ff853
commit f5f2c37184
5 changed files with 11 additions and 10 deletions

View file

@ -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