CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
program.h
1/*
2 * Copyright (C) 2014 Jean-Luc Barriere
3 *
4 * This Program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
7 * any later version.
8 *
9 * This Program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; see the file COPYING. If not, write to
16 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
17 * MA 02110-1301 USA
18 * http://www.gnu.org/copyleft/gpl.html
19 *
20 */
21
22#ifndef MYTHDTO_PROGRAM_H
23#define MYTHDTO_PROGRAM_H
24
25#include "../../mythtypes.h"
26
27namespace MythDTO
28{
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, double *val) { obj->stars = *val; }
48 void SetProgram_Airdate(Myth::Program *obj, const char *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; }
52}
53
54#endif /* MYTHDTO_PROGRAM_H */
This namespace contains all DTO definitions.
Definition artwork.h:28