CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
channel.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_CHANNEL_H
23#define MYTHDTO_CHANNEL_H
24
25#include "../../mythtypes.h"
26
27namespace MythDTO
28{
29 void SetChannel_ChanId(Myth::Channel *obj, uint32_t *val) { obj->chanId = *val; }
30 void SetChannel_ChanNum(Myth::Channel *obj, const char *val) { obj->chanNum = val; }
31 void SetChannel_CallSign(Myth::Channel *obj, const char *val) { obj->callSign = val; }
32 void SetChannel_IconURL(Myth::Channel *obj, const char *val) { obj->iconURL = val; }
33 void SetChannel_ChannelName(Myth::Channel *obj, const char *val) { obj->channelName = val; }
34 void SetChannel_MplexId(Myth::Channel *obj, uint32_t *val) { obj->mplexId = *val; }
35 void SetChannel_CommFree(Myth::Channel *obj, bool *val) { obj->commFree = *val; }
36 void SetChannel_ChanFilters(Myth::Channel *obj, const char *val) { obj->chanFilters = val; }
37 void SetChannel_SourceId(Myth::Channel *obj, uint32_t *val) { obj->sourceId = *val; }
38 void SetChannel_InputId(Myth::Channel *obj, uint32_t *val) { obj->inputId = *val; }
39 void SetChannel_Visible(Myth::Channel *obj, bool *val) { obj->visible = *val; }
40}
41
42#endif /* MYTHDTO_CHANNEL_H */
This namespace contains all DTO definitions.
Definition artwork.h:28