Commit 93039335 authored by Rohit Yadav's avatar Rohit Yadav

AbstractSharingService.h: Move and rename VideoData struct to AbstractVideoData.

AbstractVideoData will serve as an abstract video data structure to be used by future
services.
parent c1aef47d
......@@ -25,7 +25,15 @@
#include <QObject>
class VideoData;
/* Abstract Video Data structure for pass video meta data */
struct AbstractVideoData
{
QString title;
QString category;
QString description;
QString keywords;
bool isPrivate;
};
class AbstractSharingService : public QObject
{
......@@ -35,11 +43,11 @@ class AbstractSharingService : public QObject
virtual void authenticate() = 0; // Authenticate the service
virtual bool upload() = 0; // Upload video
virtual const VideoData& getVideoData() = 0;
virtual const AbstractVideoData& getVideoData() = 0;
virtual void setCredentials( const QString&, const QString& ) = 0;
virtual void setDeveloperKey( const QString& ) = 0;
virtual void setVideoParameters( const QString&, const VideoData& ) = 0;
virtual void setVideoParameters( const QString&, const AbstractVideoData& ) = 0;
signals:
void authOver();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment