00001 #ifndef FRONTENDSERVICES_H 00002 #define FRONTENDSERVICES_H 00003 00004 #include "service.h" 00005 #include "datacontracts/frontendStatus.h" 00006 #include "datacontracts/frontendActionList.h" 00007 00008 class SERVICE_PUBLIC FrontendServices : public Service 00009 { 00010 Q_OBJECT 00011 Q_CLASSINFO("version", "1.0"); 00012 00013 public: 00014 FrontendServices(QObject *parent = 0) : Service(parent) 00015 { 00016 DTC::FrontendStatus::InitializeCustomTypes(); 00017 DTC::FrontendActionList::InitializeCustomTypes(); 00018 } 00019 00020 public slots: 00021 virtual DTC::FrontendStatus* GetStatus(void) = 0; 00022 virtual bool SendMessage(const QString &Message, 00023 uint Timeout) = 0; 00024 virtual bool SendAction(const QString &Action, 00025 const QString &Value, 00026 uint Width, uint Height) = 0; 00027 virtual bool PlayRecording(int ChanId, 00028 const QDateTime &StartTime) = 0; 00029 virtual bool PlayVideo(const QString &Id, 00030 bool UseBookmark) = 0; 00031 virtual QStringList GetContextList(void) = 0; 00032 virtual DTC::FrontendActionList* GetActionList(const QString &Context) = 0; 00033 00034 00035 }; 00036 00037 #endif // FRONTENDSERVICES_H
1.6.3