mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
66091ff853
commit
f5f2c37184
5 changed files with 11 additions and 10 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue