2015-10-29 21:47:08 -02:00
|
|
|
#ifndef FACEBOOK_INTEGRATION_H
|
|
|
|
#define FACEBOOK_INTEGRATION_H
|
|
|
|
|
2016-04-04 22:02:03 -07:00
|
|
|
#include "core/isocialnetworkintegration.h"
|
2015-10-29 21:47:08 -02:00
|
|
|
#include <QString>
|
|
|
|
|
2015-11-08 11:50:04 -02:00
|
|
|
class FacebookConnectWidget;
|
|
|
|
class SocialNetworkDialog;
|
|
|
|
class FacebookManager;
|
|
|
|
|
2015-11-09 18:14:20 -02:00
|
|
|
class FacebookPlugin : public ISocialNetworkIntegration {
|
2015-11-08 11:50:04 -02:00
|
|
|
Q_OBJECT
|
2015-10-29 21:47:08 -02:00
|
|
|
public:
|
2015-11-08 11:50:04 -02:00
|
|
|
explicit FacebookPlugin(QObject* parent = 0);
|
|
|
|
virtual bool isConnected();
|
|
|
|
virtual void requestLogin();
|
|
|
|
virtual void requestLogoff();
|
|
|
|
virtual QString socialNetworkIcon() const;
|
|
|
|
virtual QString socialNetworkName() const;
|
|
|
|
virtual void requestUpload();
|
|
|
|
private:
|
|
|
|
FacebookConnectWidget *fbConnectWidget;
|
|
|
|
SocialNetworkDialog *fbUploadDialog;
|
2015-10-29 21:47:08 -02:00
|
|
|
};
|
|
|
|
|
2016-04-04 22:02:03 -07:00
|
|
|
#endif
|