X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_keys.h;h=3275fedf4856b0b78bcb316fa33fe9d9ef5439f7;hb=refs%2Ftags%2F0.9.0-test2;hp=2d0f516915ee2728d382eeba160d7b62cd5f58d4;hpb=497610a42882c50d87a076af66013dcea591af11;p=vlc diff --git a/include/vlc_keys.h b/include/vlc_keys.h index 2d0f516915..3275fedf48 100644 --- a/include/vlc_keys.h +++ b/include/vlc_keys.h @@ -21,10 +21,6 @@ * 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 - #ifndef _VLC_KEYS_H #define _VLC_KEYS_H 1 @@ -233,7 +229,7 @@ static inline int StringToKey( char *psz_key ) return 0; } -enum { +typedef enum vlc_key { ACTIONID_QUIT = 1, ACTIONID_PLAY_PAUSE, ACTIONID_PLAY, @@ -336,5 +332,5 @@ enum { ACTIONID_ZOOM_DOUBLE, /* Cycle Through Audio Devices */ ACTIONID_AUDIODEVICE_CYCLE -}; +} vlc_key_t; #endif