CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
mythdto82.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 MYTHDTO82_H
23#define MYTHDTO82_H
24
25#include "mythdto.h"
26#include "version.h"
27#include "list.h"
28#include "program.h"
29#include "channel.h"
30#include "recording.h"
31#include "artwork.h"
32#include "capturecard.h"
33#include "videosource.h"
34#include "recordschedule.h"
35
36namespace MythDTO82
37{
38 attr_bind_t recording[] =
39 {
40 { "RecordId", IS_UINT32, (setter_t)MythDTO::SetRecording_RecordId },
41 { "Priority", IS_INT32, (setter_t)MythDTO::SetRecording_Priority },
42 { "Status", IS_INT8, (setter_t)MythDTO::SetRecording_Status },
43 { "EncoderId", IS_UINT32, (setter_t)MythDTO::SetRecording_EncoderId },
44 { "RecType", IS_UINT8, (setter_t)MythDTO::SetRecording_RecType },
45 { "DupInType", IS_UINT8, (setter_t)MythDTO::SetRecording_DupInType },
46 { "DupMethod", IS_UINT8, (setter_t)MythDTO::SetRecording_DupMethod },
47 { "StartTs", IS_TIME, (setter_t)MythDTO::SetRecording_StartTs },
48 { "EndTs", IS_TIME, (setter_t)MythDTO::SetRecording_EndTs },
49 { "Profile", IS_STRING, (setter_t)MythDTO::SetRecording_Profile },
50 { "RecGroup", IS_STRING, (setter_t)MythDTO::SetRecording_RecGroup },
51 { "StorageGroup", IS_STRING, (setter_t)MythDTO::SetRecording_StorageGroup },
52 { "PlayGroup", IS_STRING, (setter_t)MythDTO::SetRecording_PlayGroup },
53 { "RecordedId", IS_UINT32, (setter_t)MythDTO::SetRecording_RecordedId },
54 };
55 bindings_t RecordingBindArray = { sizeof(recording) / sizeof(attr_bind_t), recording };
56}
57
58#endif /* MYTHDTO82_H */