X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_main.h;h=44299df77333ff09640560ad8919d8645b61f383;hb=cee16ae6950abf905ac800018108e0dc610619ef;hp=58dcc8e043cedc41887517b0cf8106f7978658c4;hpb=46c39c8e9c2e0ec3ba1bf8dc37e6e3e5efb59a08;p=vlc diff --git a/include/vlc_main.h b/include/vlc_main.h index 58dcc8e043..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,14 +37,8 @@ struct libvlc_int_t { VLC_COMMON_MEMBERS - /* Global properties */ - const char * psz_homedir; ///< user's home directory - - 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;