00001 /***************************************************************************** 00002 * bda.h : DirectShow BDA access header for vlc 00003 ***************************************************************************** 00004 * Copyright ( C ) 2007 the VideoLAN team 00005 * 00006 * Author: Ken Self <kens@campoz.fslife.co.uk> 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * ( at your option ) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00021 *****************************************************************************/ 00022 00023 /***************************************************************************** 00024 * Preamble 00025 *****************************************************************************/ 00026 00027 #ifdef HAVE_CONFIG_H 00028 # include "config.h" 00029 #endif 00030 00031 #include <stdlib.h> 00032 #include <stdio.h> 00033 #include <string.h> 00034 00035 #include <vlc_common.h> 00036 #include <vlc_input.h> 00037 #include <vlc_access.h> 00038 00039 #ifndef _MSC_VER 00040 # include <wtypes.h> 00041 # include <unknwn.h> 00042 # include <ole2.h> 00043 # include <limits.h> 00044 # ifdef _WINGDI_ 00045 # undef _WINGDI_ 00046 # endif 00047 # define _WINGDI_ 1 00048 # define AM_NOVTABLE 00049 # define _OBJBASE_H_ 00050 # undef _X86_ 00051 # ifndef _I64_MAX 00052 # define _I64_MAX LONG_LONG_MAX 00053 # endif 00054 # define LONGLONG long long 00055 #endif 00056 00057 #ifdef __cplusplus 00058 class BDAGraph; 00059 extern "C" { 00060 #else 00061 typedef struct BDAGraph BDAGraph; 00062 #endif 00063 00064 void dvb_newBDAGraph( access_t* p_access ); 00065 void dvb_deleteBDAGraph( access_t* p_access ); 00066 int dvb_SubmitATSCTuneRequest( access_t* p_access ); 00067 int dvb_SubmitDVBTTuneRequest( access_t* p_access ); 00068 int dvb_SubmitDVBCTuneRequest( access_t* p_access ); 00069 int dvb_SubmitDVBSTuneRequest( access_t* p_access ); 00070 block_t *dvb_Pop( access_t* p_access ); 00071 00072 #ifdef __cplusplus 00073 } 00074 #endif 00075 00076 /**************************************************************************** 00077 * Access descriptor declaration 00078 ****************************************************************************/ 00079 struct access_sys_t 00080 { 00081 BDAGraph *p_bda_module; 00082 };
1.5.6