vlc_main.h 1.95 KB
Newer Older
1
/*****************************************************************************
Vincent Seguin's avatar
Vincent Seguin committed
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 10 11 12
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
13
 *
14 15
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
18
 *
19 20
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
Antoine Cellerier's avatar
Antoine Cellerier committed
21
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22
 *****************************************************************************/
Vincent Seguin's avatar
Vincent Seguin committed
23

24 25 26 27 28
/**
 * \file
 * This file defines libvlc_int_t internal libvlc instance
 */

29 30
TYPEDEF_ARRAY(input_item_t*, input_item_array_t);

31
/*****************************************************************************
32
 * libvlc_internal_instance_t
33
 *****************************************************************************
34
 * This structure is a LibVLC instance, for use by libvlc core and plugins
35
 *****************************************************************************/
36
struct libvlc_int_t
Vincent Seguin's avatar
Vincent Seguin committed
37
{
38 39
    VLC_COMMON_MEMBERS

40
    /* FIXME: this is only used by the logger module! */
41
    global_stats_t       *p_stats;           ///< Global statistics
42

43 44 45 46 47 48 49
    /* Structure storing the action name / key associations */
    struct hotkey
    {
        const char *psz_action;
        int i_action;
        int i_key;
    } *p_hotkeys;
50
};
Vincent Seguin's avatar
Vincent Seguin committed
51