00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00012
00013 #ifndef GUIDESERVICES_H_
00014 #define GUIDESERVICES_H_
00015
00016 #include <QFileInfo>
00017
00018 #include "service.h"
00019 #include "datacontracts/programGuide.h"
00020 #include "datacontracts/programAndChannel.h"
00021
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00037
00038 class SERVICE_PUBLIC GuideServices : public Service
00039 {
00040 Q_OBJECT
00041 Q_CLASSINFO( "version" , "1.0" );
00042
00043 public:
00044
00045
00046
00047
00048 GuideServices( QObject *parent = 0 ) : Service( parent )
00049 {
00050 DTC::ProgramGuide::InitializeCustomTypes();
00051 DTC::Program ::InitializeCustomTypes();
00052 }
00053
00054 public slots:
00055
00056 virtual DTC::ProgramGuide* GetProgramGuide ( const QDateTime &StartTime ,
00057 const QDateTime &EndTime ,
00058 int StartChanId,
00059 int NumChannels,
00060 bool Details ) = 0;
00061
00062 virtual DTC::Program* GetProgramDetails ( int ChanId,
00063 const QDateTime &StartTime ) = 0;
00064
00065 virtual QFileInfo GetChannelIcon ( int ChanId,
00066 int Width ,
00067 int Height ) = 0;
00068 };
00069
00070 #endif
00071