]> git.sesse.net Git - vlc/commitdiff
Inclusion guards for vlc_keys.h
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 24 Nov 2007 03:01:54 +0000 (03:01 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 24 Nov 2007 03:01:54 +0000 (03:01 +0000)
Why don't we use an enum in that file ???

include/vlc_keys.h

index 4d008e4468c7dc6fdf134066330ee7379ef0e47a..4432f3454a89d4c73cae435becc49a3ada638b7a 100644 (file)
@@ -25,6 +25,9 @@
   #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
+
 #define KEY_MODIFIER         0xFF000000
 #define KEY_MODIFIER_ALT     0x01000000
 #define KEY_MODIFIER_SHIFT   0x02000000
@@ -316,3 +319,5 @@ static inline int StringToKey( char *psz_key )
 #define ACTIONID_MENU_UP               89
 #define ACTIONID_MENU_DOWN             90
 #define ACTIONID_MENU_SELECT           91
+
+#endif