CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
recording.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_RECORDING_H
23#define MYTHDTO_RECORDING_H
24
25#include "../../mythtypes.h"
26
27namespace MythDTO
28{
29 void SetRecording_RecordId(Myth::Recording *obj, uint32_t *val) { obj->recordId = *val; }
30 void SetRecording_Priority(Myth::Recording *obj, int32_t *val) { obj->priority = *val; }
31 void SetRecording_Status(Myth::Recording *obj, int8_t *val) { obj->status = *val; }
32 void SetRecording_EncoderId(Myth::Recording *obj, uint32_t *val) { obj->encoderId = *val; }
33 void SetRecording_RecType(Myth::Recording *obj, uint8_t *val) { obj->recType = *val; }
34 void SetRecording_DupInType(Myth::Recording *obj, uint8_t *val) { obj->dupInType = *val; }
35 void SetRecording_DupMethod(Myth::Recording *obj, uint8_t *val) { obj->dupMethod = *val; }
36 void SetRecording_StartTs(Myth::Recording *obj, time_t *val) { obj->startTs = *val; }
37 void SetRecording_EndTs(Myth::Recording *obj, time_t *val) { obj->endTs = *val; }
38 void SetRecording_Profile(Myth::Recording *obj, const char *val) { obj->profile = val; }
39 void SetRecording_RecGroup(Myth::Recording *obj, const char *val) { obj->recGroup = val; }
40 void SetRecording_StorageGroup(Myth::Recording *obj, const char *val) { obj->storageGroup = val; }
41 void SetRecording_PlayGroup(Myth::Recording *obj, const char *val) { obj->playGroup = val; }
42 void SetRecording_RecordedId(Myth::Recording *obj, uint32_t *val) { obj->recordedId = *val; }
43}
44
45#endif /* MYTHDTO_RECORDING_H */
This namespace contains all DTO definitions.
Definition artwork.h:28