22 #ifndef MYTHDTO_PROGRAM_H 23 #define MYTHDTO_PROGRAM_H 25 #include "../../mythtypes.h" 29 void SetProgram_StartTime(
Myth::Program *obj, time_t *val) { obj->startTime = *val; }
30 void SetProgram_EndTime(
Myth::Program *obj, time_t *val) { obj->endTime = *val; }
31 void SetProgram_Title(
Myth::Program *obj,
const char *val) { obj->title = val; }
32 void SetProgram_SubTitle(
Myth::Program *obj,
const char *val) { obj->subTitle = val; }
33 void SetProgram_Description(
Myth::Program *obj,
const char *val) { obj->description = val; }
34 void SetProgram_Season(
Myth::Program *obj, uint16_t *val) { obj->season = *val; }
35 void SetProgram_Episode(
Myth::Program *obj, uint16_t *val) { obj->episode = *val; }
36 void SetProgram_Category(
Myth::Program *obj,
const char *val) { obj->category = val; }
37 void SetProgram_CatType(
Myth::Program *obj,
const char *val) { obj->catType = val; }
38 void SetProgram_HostName(
Myth::Program *obj,
const char *val) { obj->hostName = val; }
39 void SetProgram_FileName(
Myth::Program *obj,
const char *val) { obj->fileName = val; }
40 void SetProgram_FileSize(
Myth::Program *obj, int64_t *val) { obj->fileSize = *val; }
41 void SetProgram_Repeat(
Myth::Program *obj,
bool *val) { obj->repeat = *val; }
42 void SetProgram_ProgramFlags(
Myth::Program *obj, uint32_t *val) { obj->programFlags = *val; }
43 void SetProgram_SeriesId(
Myth::Program *obj,
const char *val) { obj->seriesId = val; }
44 void SetProgram_ProgramId(
Myth::Program *obj,
const char *val) { obj->programId = val; }
45 void SetProgram_Inetref(
Myth::Program *obj,
const char *val) { obj->inetref = val; }
46 void SetProgram_LastModified(
Myth::Program *obj, time_t *val) { obj->lastModified = *val; }
47 void SetProgram_Stars(
Myth::Program *obj,
const char *val) { obj->stars = val; }
48 void SetProgram_Airdate(
Myth::Program *obj, time_t *val) { obj->airdate = *val; }
49 void SetProgram_AudioProps(
Myth::Program *obj, uint16_t *val) { obj->audioProps = *val; }
50 void SetProgram_VideoProps(
Myth::Program *obj, uint16_t *val) { obj->videoProps = *val; }
51 void SetProgram_SubProps(
Myth::Program *obj, uint16_t *val) { obj->subProps = *val; }
This namespace contains all DTO definitions.