00001 #ifndef RECORDINGTYPES_H_
00002 #define RECORDINGTYPES_H_
00003
00004 #include <QString>
00005
00006 #include "mythexp.h"
00007
00008 typedef enum RecordingTypes
00009 {
00010 kNotRecording = 0,
00011 kSingleRecord = 1,
00012 kTimeslotRecord,
00013 kChannelRecord,
00014 kAllRecord,
00015 kWeekslotRecord,
00016 kFindOneRecord,
00017 kOverrideRecord,
00018 kDontRecord,
00019 kFindDailyRecord,
00020 kFindWeeklyRecord,
00021 kTemplateRecord
00022 } RecordingType;
00023 MPUBLIC QString toString(RecordingType);
00024 MPUBLIC QString toRawString(RecordingType);
00025 MPUBLIC QChar toQChar( RecordingType);
00026 MPUBLIC RecordingType recTypeFromString(QString);
00027
00028 MPUBLIC int RecTypePriority(RecordingType rectype);
00029
00030 typedef enum RecordingDupInTypes
00031 {
00032 kDupsInRecorded = 0x01,
00033 kDupsInOldRecorded = 0x02,
00034 kDupsInAll = 0x0F,
00035 kDupsNewEpi = 0x10
00036 } RecordingDupInType;
00037 MPUBLIC QString toRawString(RecordingDupInType);
00038 MPUBLIC RecordingDupInType dupInFromString(QString);
00039
00040 typedef enum RecordingDupMethodType
00041 {
00042 kDupCheckNone = 0x01,
00043 kDupCheckSub = 0x02,
00044 kDupCheckDesc = 0x04,
00045 kDupCheckSubDesc = 0x06,
00046 kDupCheckSubThenDesc = 0x08
00047 } RecordingDupMethodType;
00048 MPUBLIC QString toRawString(RecordingDupMethodType);
00049 MPUBLIC RecordingDupMethodType dupMethodFromString(QString);
00050
00051 typedef enum RecSearchTypes
00052 {
00053 kNoSearch = 0,
00054 kPowerSearch,
00055 kTitleSearch,
00056 kKeywordSearch,
00057 kPeopleSearch,
00058 kManualSearch
00059 } RecSearchType;
00060 MPUBLIC QString toRawString(RecSearchType);
00061 MPUBLIC RecSearchType searchTypeFromString(QString);
00062
00063 #endif
00064