MythTV  master
recordingtypes.h
Go to the documentation of this file.
1 #ifndef RECORDINGTYPES_H_
2 #define RECORDINGTYPES_H_
3 
5 //
6 // WARNING
7 //
8 // The enums in this header are used in libmythservicecontracts,
9 // and for database values: hence when removing something from
10 // these enums leave a gap, and when adding a new value give it
11 // a explicit integer value.
12 //
14 
15 #include <QString>
16 
17 #include "mythexp.h"
18 
20 {
24  //kChannelRecord = 3, (Obsolete)
30  //kFindDailyRecord = 9, (Obsolete)
31  //kFindWeeklyRecord = 10, (Obsolete)
33 }; // note stored in uint8_t in ProgramInfo
39 
41 
43 {
44  kDupsUnset = 0x00,
47  kDupsInAll = 0x0F,
48  kDupsNewEpi = 0x10
49 }; // note stored in uint8_t in ProgramInfo
54 
56 {
58  kDupCheckNone = 0x01,
59  kDupCheckSub = 0x02,
60  kDupCheckDesc = 0x04,
63 }; // note stored in uint8_t in ProgramInfo
68 
70 {
71  kNoSearch = 0,
77 };
81 
82 #endif
83 
RecordingDupInType
#define MPUBLIC
Definition: mythexp.h:10
MPUBLIC RecordingDupMethodType dupMethodFromString(const QString &)
MPUBLIC QString toDescription(RecordingType)
Converts "rectype" into a human readable description.
RecordingDupMethodType
RecSearchType
MPUBLIC RecordingDupInType dupInFromString(const QString &)
MPUBLIC QString toString(RecordingType)
Converts "rectype" into a human readable string.
MPUBLIC int RecTypePrecedence(RecordingType rectype)
Converts a RecordingType to a simple integer so it's specificity can be compared to another.
MPUBLIC QChar toQChar(RecordingType)
Converts "rectype" into a human readable character.
MPUBLIC RecSearchType searchTypeFromString(const QString &)
MPUBLIC RecordingType recTypeFromString(const QString &)
MPUBLIC QString toRawString(RecordingType)
Converts "rectype" into an untranslated string.