X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_main.h;h=44299df77333ff09640560ad8919d8645b61f383;hb=ba7f2c28338179628989b61e0c78fa81c57afc72;hp=c67281f031ae84c82d5f6ba44ab49b84c7fdccc8;hpb=59dec65d5fe153565ea8705767874a2d876d2103;p=vlc diff --git a/include/vlc_main.h b/include/vlc_main.h index c67281f031..44299df773 100644 --- a/include/vlc_main.h +++ b/include/vlc_main.h @@ -21,9 +21,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#if !defined( __LIBVLC__ ) - #error You are not libvlc or one of its plugins. You cannot include this file -#endif +/** + * \file + * This file defines libvlc_int_t internal libvlc instance + */ TYPEDEF_ARRAY(input_item_t*, input_item_array_t); @@ -36,11 +37,8 @@ struct libvlc_int_t { VLC_COMMON_MEMBERS - /* FIXME: this is only used by the logger module! */ - global_stats_t *p_stats; ///< Global statistics - /* Structure storing the action name / key associations */ - struct hotkey + const struct hotkey { const char *psz_action; int i_action;