]> git.sesse.net Git - vlc/blob - modules/access/bda/bda.h
Update LGPL license blurb, choosing v2.1+.
[vlc] / modules / access / bda / bda.h
1 /*****************************************************************************
2  * bda.h : DirectShow BDA access header for vlc
3  *****************************************************************************
4  * Copyright ( C ) 2007 the VideoLAN team
5  *
6  * Author: Ken Self <kens@campoz.fslife.co.uk>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * ( at your option ) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21  *****************************************************************************/
22
23 /*****************************************************************************
24  * Preamble
25  *****************************************************************************/
26
27 #ifdef HAVE_CONFIG_H
28 # include "config.h"
29 #endif
30
31 #include <stdlib.h>
32 #include <stdio.h>
33 #include <string.h>
34
35 #include <vlc_common.h>
36 #include <vlc_input.h>
37 #include <vlc_access.h>
38
39 #ifndef _MSC_VER
40 #   include <wtypes.h>
41 #   include <unknwn.h>
42 #   include <ole2.h>
43 #   include <limits.h>
44 #   ifdef _WINGDI_
45 #      undef _WINGDI_
46 #   endif
47 #   define _WINGDI_ 1
48 #   define AM_NOVTABLE
49 #   define _OBJBASE_H_
50 #   undef _X86_
51 #   ifndef _I64_MAX
52 #     define _I64_MAX LONG_LONG_MAX
53 #   endif
54 #   define LONGLONG long long
55 #endif
56
57 #ifdef __cplusplus
58 class BDAGraph;
59 extern "C" {
60 #else
61 typedef struct BDAGraph BDAGraph;
62 #endif
63
64 void dvb_newBDAGraph( access_t* p_access );
65 void dvb_deleteBDAGraph( access_t* p_access );
66 int dvb_SubmitCQAMTuneRequest( access_t* p_access );
67 int dvb_SubmitATSCTuneRequest( access_t* p_access );
68 int dvb_SubmitDVBTTuneRequest( access_t* p_access );
69 int dvb_SubmitDVBCTuneRequest( access_t* p_access );
70 int dvb_SubmitDVBSTuneRequest( access_t* p_access );
71 block_t *dvb_Pop( access_t* p_access );
72
73 #ifdef __cplusplus
74 }
75 #endif
76
77 /****************************************************************************
78  * Access descriptor declaration
79  ****************************************************************************/
80 struct access_sys_t
81 {
82     BDAGraph *p_bda_module;
83 };