CPPMyth
Library to interoperate with MythTV server
All Data Structures Namespaces Functions Variables
recordschedule.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_RECORDSCHEDULE_H
23 #define MYTHDTO_RECORDSCHEDULE_H
24 
25 #include "../../mythtypes.h"
26 
27 namespace MythDTO
28 {
29  void SetSchedule_Id(Myth::RecordSchedule *obj, uint32_t *val) { obj->recordId = *val; }
30  void SetSchedule_Title(Myth::RecordSchedule *obj, const char *val) { obj->title = val; }
31  void SetSchedule_Subtitle(Myth::RecordSchedule *obj, const char *val) { obj->subtitle = val; }
32  void SetSchedule_Description(Myth::RecordSchedule *obj, const char *val) { obj->description = val; }
33  void SetSchedule_Category(Myth::RecordSchedule *obj, const char *val) { obj->category = val; }
34  void SetSchedule_StartTime(Myth::RecordSchedule *obj, time_t *val) { obj->startTime = *val; }
35  void SetSchedule_EndTime(Myth::RecordSchedule *obj, time_t *val) { obj->endTime = *val; }
36  void SetSchedule_SeriesId(Myth::RecordSchedule *obj, const char *val) { obj->seriesId = val; }
37  void SetSchedule_ProgramId(Myth::RecordSchedule *obj, const char *val) { obj->programId = val; }
38  void SetSchedule_ChanId(Myth::RecordSchedule *obj, uint32_t *val) { obj->chanId = *val; }
39  void SetSchedule_CallSign(Myth::RecordSchedule *obj, const char *val) { obj->callSign = val; }
40  void SetSchedule_FindDay(Myth::RecordSchedule *obj, int8_t *val) { obj->findDay = *val; }
41  void SetSchedule_FindTime(Myth::RecordSchedule *obj, const char *val) { obj->findTime = val; }
42  void SetSchedule_ParentId(Myth::RecordSchedule *obj, uint32_t *val) { obj->parentId = *val; }
43  void SetSchedule_Inactive(Myth::RecordSchedule *obj, bool *val) { obj->inactive = *val; }
44  void SetSchedule_Season(Myth::RecordSchedule *obj, uint16_t *val) { obj->season = *val; }
45  void SetSchedule_Episode(Myth::RecordSchedule *obj, uint16_t *val) { obj->episode = *val; }
46  void SetSchedule_Inetref(Myth::RecordSchedule *obj, const char *val) { obj->inetref = val; }
47  void SetSchedule_Type(Myth::RecordSchedule *obj, const char *val) { obj->type = val; }
48  void SetSchedule_SearchType(Myth::RecordSchedule *obj, const char *val) { obj->searchType = val; }
49  void SetSchedule_RecPriority(Myth::RecordSchedule *obj, int8_t *val) { obj->recPriority = *val; }
50  void SetSchedule_PreferredInput(Myth::RecordSchedule *obj, uint32_t *val) { obj->preferredInput = *val; }
51  void SetSchedule_StartOffset(Myth::RecordSchedule *obj, uint8_t *val) { obj->startOffset = *val; }
52  void SetSchedule_EndOffset(Myth::RecordSchedule *obj, uint8_t *val) { obj->endOffset = *val; }
53  void SetSchedule_DupMethod(Myth::RecordSchedule *obj, const char *val) { obj->dupMethod = val; }
54  void SetSchedule_DupIn(Myth::RecordSchedule *obj, const char *val) { obj->dupIn = *val; }
55  void SetSchedule_Filter(Myth::RecordSchedule *obj, uint32_t *val) { obj->filter = *val; }
56  void SetSchedule_RecProfile(Myth::RecordSchedule *obj, const char *val) { obj->recProfile = val; }
57  void SetSchedule_RecGroup(Myth::RecordSchedule *obj, const char *val) { obj->recGroup = val; }
58  void SetSchedule_StorageGroup(Myth::RecordSchedule *obj, const char *val) { obj->storageGroup = val; }
59  void SetSchedule_PlayGroup(Myth::RecordSchedule *obj, const char *val) { obj->playGroup = val; }
60  void SetSchedule_AutoExpire(Myth::RecordSchedule *obj, bool *val) { obj->autoExpire = *val; }
61  void SetSchedule_MaxEpisodes(Myth::RecordSchedule *obj, uint32_t *val) { obj->maxEpisodes = *val; }
62  void SetSchedule_MaxNewest(Myth::RecordSchedule *obj, bool *val) { obj->maxNewest = *val; }
63  void SetSchedule_AutoCommflag(Myth::RecordSchedule *obj, bool *val) { obj->autoCommflag = *val; }
64  void SetSchedule_AutoTranscode(Myth::RecordSchedule *obj, bool *val) { obj->autoTranscode = *val; }
65  void SetSchedule_AutoMetaLookup(Myth::RecordSchedule *obj, bool *val) { obj->autoMetaLookup = *val; }
66  void SetSchedule_AutoUserJob1(Myth::RecordSchedule *obj, bool *val) { obj->autoUserJob1 = *val; }
67  void SetSchedule_AutoUserJob2(Myth::RecordSchedule *obj, bool *val) { obj->autoUserJob2 = *val; }
68  void SetSchedule_AutoUserJob3(Myth::RecordSchedule *obj, bool *val) { obj->autoUserJob3 = *val; }
69  void SetSchedule_AutoUserJob4(Myth::RecordSchedule *obj, bool *val) { obj->autoUserJob4 = *val; }
70  void SetSchedule_Transcoder(Myth::RecordSchedule *obj, uint32_t *val) { obj->transcoder = *val; }
71  void SetSchedule_NextRecording(Myth::RecordSchedule *obj, time_t *val) { obj->nextRecording = *val; }
72  void SetSchedule_LastRecorded(Myth::RecordSchedule *obj, time_t *val) { obj->lastRecorded = *val; }
73  void SetSchedule_LastDeleted(Myth::RecordSchedule *obj, time_t *val) { obj->lastDeleted = *val; }
74  void SetSchedule_AverageDelay(Myth::RecordSchedule *obj, uint32_t *val) { obj->averageDelay = *val; }
75 }
76 
77 #endif /* MYTHDTO_RECORDSCHEDULE_H */
78 
This namespace contains all DTO definitions.
Definition: artwork.h:27