Debian Codegraph @

src/lib/tsreader/ChannelInfo.cpp

raw
1 /*
2 * Copyright (C) 2006 Team MediaPortal
3 * http://www.team-mediaportal.com
4 *
5 * This Program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
8 * any later version.
9 *
10 * This Program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with GNU Make; see the file COPYING. If not, write to
17 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
18 * MA 02110-1335 USA
19 * http://www.gnu.org/copyleft/gpl.html
20 *
21 */
22
23 #include "ChannelInfo.h"
24
25 namespace MPTV
26 {
27 CChannelInfo::CChannelInfo(void)
28 {
29 Reset();
30 }
31
32 CChannelInfo::~CChannelInfo(void)
33 {
34 }
35
36 void CChannelInfo::Reset()
37 {
38 PatVersion = -1;
39 LCN = 10000;
40 NetworkId = 0;
41 TransportId = 0;
42 ServiceId = 0;
43 EIT_schedule_flag = 0;
44 EIT_present_following_flag = 0;
45 RunningStatus = 0;
46 FreeCAMode = 0;
47 ServiceType = 0;
48 MajorChannel = 0;
49 MinorChannel = 0;
50 Frequency = 0;
51 Modulation = 0;
52 strcpy(ProviderName, "");
53 strcpy(ServiceName, "");
54 }
55 }