00001 /***************************************************************************** 00002 * main.h: access to all program variables 00003 * Declaration and extern access to LibVLC instance object. 00004 ***************************************************************************** 00005 * Copyright (C) 1999, 2000, 2001, 2002, 2008 the VideoLAN team 00006 * 00007 * Authors: Vincent Seguin <seguin@via.ecp.fr> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00022 *****************************************************************************/ 00023 00024 TYPEDEF_ARRAY(input_item_t*, input_item_array_t); 00025 00026 /***************************************************************************** 00027 * libvlc_internal_instance_t 00028 ***************************************************************************** 00029 * This structure is a LibVLC instance, for use by libvlc core and plugins 00030 *****************************************************************************/ 00031 struct libvlc_int_t 00032 { 00033 VLC_COMMON_MEMBERS 00034 00035 /* FIXME: this is only used by the logger module! */ 00036 global_stats_t *p_stats; ///< Global statistics 00037 00038 /* Structure storing the action name / key associations */ 00039 struct hotkey 00040 { 00041 const char *psz_action; 00042 int i_action; 00043 int i_key; 00044 } *p_hotkeys; 00045 }; 00046
1.5.1