Debian Codegraph @

src/lib/tsreader/ISectionCallback.h

raw
1 /*
2 * Copyright (C) 2005-2012 Team XBMC
3 * http://www.xbmc.org
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 of the License, or
8 * (at your option) 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 this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 *************************************************************************
19 * This file is a modified version from Team MediaPortal's
20 * TsReader DirectShow filter
21 * MediaPortal is a GPL'ed HTPC-Application
22 * Copyright (C) 2005-2012 Team MediaPortal
23 * http://www.team-mediaportal.com
24 *
25 * Changes compared to Team MediaPortal's version:
26 * - Code cleanup for PVR addon usage
27 * - Code refactoring for cross platform usage
28 *************************************************************************
29 * This file originates from TSFileSource, a GPL directshow push
30 * source filter that provides an MPEG transport stream output.
31 * Copyright (C) 2005-2006 nate, bear
32 * http://forums.dvbowners.com/
33 */
34
35 #pragma once
36 #include "Section.h"
37
38 namespace MPTV
39 {
40 class ISectionCallback
41 {
42 public:
43 virtual void OnNewSection(int pid, int tableId, CSection& section) = 0;
44 };
45 }