00001 #ifndef TV_H
00002 #define TV_H
00003
00004 #include <qstring.h>
00005 #include "videoouttypes.h"
00006
00010 typedef enum
00011 {
00012 CHANNEL_DIRECTION_UP = 0,
00013 CHANNEL_DIRECTION_DOWN = 1,
00014 CHANNEL_DIRECTION_FAVORITE = 2,
00015 CHANNEL_DIRECTION_SAME = 3,
00016 } ChannelChangeDirection;
00017
00020 typedef enum
00021 {
00024 kState_Error = -1,
00028 kState_None = 0,
00033 kState_WatchingLiveTV,
00037 kState_WatchingPreRecorded,
00042 kState_WatchingRecording,
00046 kState_RecordingOnly,
00051 kState_ChangingState,
00052 } TVState;
00053
00054 QString StateToString(TVState state);
00055
00056 typedef enum PictureAdjustType
00057 {
00058 kAdjustingPicture_None = 0,
00059 kAdjustingPicture_Playback,
00060 kAdjustingPicture_Channel,
00061 kAdjustingPicture_Recording,
00062 } PictureAdjustType;
00063 QString toTypeString(PictureAdjustType type);
00064 QString toTitleString(PictureAdjustType type);
00065
00066 #endif