vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jan 31 18:54:47 2013 +0200| [e1f4d89eff8ea0901a455e7ccce886eca0feba66] | committer: Rémi Denis-Courmont
LIRC: remove non-working menu > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1f4d89eff8ea0901a455e7ccce886eca0feba66 --- modules/control/lirc.c | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/modules/control/lirc.c b/modules/control/lirc.c index 1c314e1..3fd5afb 100644 --- a/modules/control/lirc.c +++ b/modules/control/lirc.c @@ -35,7 +35,6 @@ #include <vlc_common.h> #include <vlc_plugin.h> #include <vlc_interface.h> -#include <vlc_osd.h> #include <vlc_keys.h> #ifdef HAVE_POLL @@ -202,31 +201,6 @@ static void Process( intf_thread_t *p_intf ) else msg_Err( p_intf, "Unknown hotkey '%s'", c ); } - else if( !strncmp( "menu ", c, 5) ) - { - if( !strncmp( c, "menu on", 7 ) || - !strncmp( c, "menu show", 9 )) - osd_MenuShow( VLC_OBJECT(p_intf) ); - else if( !strncmp( c, "menu off", 8 ) || - !strncmp( c, "menu hide", 9 ) ) - osd_MenuHide( VLC_OBJECT(p_intf) ); - else if( !strncmp( c, "menu up", 7 ) ) - osd_MenuUp( VLC_OBJECT(p_intf) ); - else if( !strncmp( c, "menu down", 9 ) ) - osd_MenuDown( VLC_OBJECT(p_intf) ); - else if( !strncmp( c, "menu left", 9 ) ) - osd_MenuPrev( VLC_OBJECT(p_intf) ); - else if( !strncmp( c, "menu right", 10 ) ) - osd_MenuNext( VLC_OBJECT(p_intf) ); - else if( !strncmp( c, "menu select", 11 ) ) - osd_MenuActivate( VLC_OBJECT(p_intf) ); - else - { - msg_Err( p_intf, "Please provide one of the following parameters:" ); - msg_Err( p_intf, "[on|off|up|down|left|right|select]" ); - break; - } - } else { msg_Err( p_intf, "this doesn't appear to be a valid keycombo " _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
