12 #ifndef CXVIDEOSERVICE_H
13 #define CXVIDEOSERVICE_H
15 #include "cxResourceExport.h"
18 #include <boost/shared_ptr.hpp>
21 #define VideoService_iid "cx::VideoService"
25 class StreamerService;
79 virtual void setActiveVideoSource(QString uid) = 0;
81 virtual std::vector<VideoSourcePtr> getVideoSources() = 0;
83 virtual void setConnectionMethod(QString connectionMethod) = 0;
84 virtual QString getConnectionMethod() = 0;
85 virtual void openConnection() = 0;
86 virtual void closeConnection() = 0;
87 virtual bool isConnected()
const = 0;
90 virtual std::vector<TimelineEvent> getPlaybackEvents() = 0;
93 virtual QList<StreamerServicePtr> getStreamerServices() = 0;
95 virtual bool isNull() = 0;
99 void connected(
bool on);
100 void connectionMethodChanged();
104 void activeVideoSourceChanged();
114 #endif // CXVIDEOSERVICE_H