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 /** 00025 * \file 00026 * This file defines libvlc_int_t internal libvlc instance 00027 */ 00028 00029 TYPEDEF_ARRAY(input_item_t*, input_item_array_t); 00030 00031 /***************************************************************************** 00032 * libvlc_internal_instance_t 00033 ***************************************************************************** 00034 * This structure is a LibVLC instance, for use by libvlc core and plugins 00035 *****************************************************************************/ 00036 struct libvlc_int_t 00037 { 00038 VLC_COMMON_MEMBERS 00039 00040 /* Structure storing the action name / key associations */ 00041 const struct hotkey 00042 { 00043 const char *psz_action; 00044 int i_action; 00045 int i_key; 00046 } *p_hotkeys; 00047 }; 00048
1.5.6