]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/intf.h
* collection of various fixes and edits
[vlc] / modules / gui / macosx / intf.h
index ed92a1182c29c13e88817377cd848bf65a3546a8..08af1b786c1b7acaf924201b4dea542574052496 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
+#include <vlc_playlist.h>
 #include <vlc_vout.h>
 #include <vlc_aout.h>
 #include <vlc_input.h>
@@ -50,6 +51,9 @@ unsigned int CocoaKeyToVLC( unichar i_key );
             @"/System/Library/CoreServices/SystemVersion.plist"] \
             objectForKey: @"ProductVersion"] floatValue]
 
+/* switch this to 1, if you want to use Obj-C with GC */
+#define GC_ENABLED 0
+
 /*****************************************************************************
  * intf_sys_t: description and status of the interface
  *****************************************************************************/
@@ -285,7 +289,7 @@ struct intf_sys_t
     int     i_lastShownVolume;
 
     AppleRemote * o_remote;
-    BOOL b_left_right_remote_button_hold; /* true as long as the user holds the left or right button on the remote control */
+    BOOL b_remote_button_hold; /* true as long as the user holds the left,right,plus or minus on the remote control */
 }
 
 + (VLCMain *)sharedInstance;
@@ -314,6 +318,7 @@ struct intf_sys_t
 - (void)manage;
 - (void)manageIntf:(NSTimer *)o_timer;
 - (void)setupMenus;
+- (void)refreshVoutDeviceMenu:(NSNotification *)o_notification;
 - (void)setScrollField:(NSString *)o_string stopAfter:(int )timeout;
 - (void)resetScrollField;