]> git.sesse.net Git - vlc/blob - include/vlc_main.h
Remove p_playlist from p_libvlc
[vlc] / include / vlc_main.h
1 /*****************************************************************************
2  * main.h: access to all program variables
3  * Declaration and extern access to LibVLC instance object.
4  *****************************************************************************
5  * Copyright (C) 1999, 2000, 2001, 2002, 2008 the VideoLAN team
6  *
7  * Authors: Vincent Seguin <seguin@via.ecp.fr>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #if !defined( __LIBVLC__ )
25   #error You are not libvlc or one of its plugins. You cannot include this file
26 #endif
27
28 TYPEDEF_ARRAY(input_item_t*, input_item_array_t);
29
30 /*****************************************************************************
31  * libvlc_internal_instance_t
32  *****************************************************************************
33  * This structure is a LibVLC instance, for use by libvlc core and plugins
34  *****************************************************************************/
35 struct libvlc_int_t
36 {
37     VLC_COMMON_MEMBERS
38
39     /* Global properties */
40     char *                 psz_homedir;      ///< user's home directory
41
42     global_stats_t       *p_stats;           ///< Global statistics
43
44
45     /* Structure storing the action name / key associations */
46     struct hotkey
47     {
48         const char *psz_action;
49         int i_action;
50         int i_key;
51     } *p_hotkeys;
52 };
53