]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/controls.h
macosx: moved all (main) menu related code to a separate class
[vlc] / modules / gui / macosx / controls.h
index 68b352e421ff0e31e15701493d0e64921c13fda8..65f883e7d4b49fa58fd59885a7da516cf42b1a54 100644 (file)
 
     IBOutlet id o_volumeslider;
 
-    IBOutlet id o_btn_shuffle;
-    IBOutlet id o_btn_addNode;
     IBOutlet id o_btn_repeat;
-    IBOutlet id o_btn_repeat_embed;
-    IBOutlet id o_btn_shuffle_embed;
-    
-    NSImage * o_repeat_single;
-    NSImage * o_repeat_all;
-    NSImage * o_repeat_off;
+    IBOutlet id o_btn_shuffle;
 
     IBOutlet id o_specificTime_cancel_btn;
     IBOutlet id o_specificTime_enter_fld;
 - (BOOL)keyEvent:(NSEvent *)o_event;
 - (void)scrollWheel: (NSEvent *)theEvent;
 
-- (void)setupVarMenuItem:(NSMenuItem *)o_mi
-                  target:(vlc_object_t *)p_object
-                     var:(const char *)psz_variable
-                selector:(SEL)pf_callback;
-- (void)setupVarMenu:(NSMenu *)o_menu
-         forMenuItem: (NSMenuItem *)o_parent
-              target:(vlc_object_t *)p_object
-                 var:(const char *)psz_variable
-            selector:(SEL)pf_callback;
-- (IBAction)toggleVar:(id)sender;
-- (int)toggleVarThread:(id)_o_data;
-
 - (IBAction)goToSpecificTime:(id)sender;
 
 - (id)fspanel;
 
 @end
 
-/*****************************************************************************
- * VLCAutoGeneratedMenuContent interface
- *****************************************************************************
- * This holds our data for autogenerated menus
- *****************************************************************************/
-@interface VLCAutoGeneratedMenuContent : NSObject
-{
-    char *psz_name;
-    vlc_object_t * _vlc_object;
-    vlc_value_t value;
-    int i_type;
-}
-
-- (id)initWithVariableName: (const char *)name 
-                  ofObject: (vlc_object_t *)object
-                  andValue: (vlc_value_t)value 
-                    ofType: (int)type;
-- (const char *)name;
-- (vlc_value_t)value;
-- (vlc_object_t *)vlcObject;
-- (int)type;
-
-@end
-
 /*****************************************************************************
  * VLCTimeField interface
  *****************************************************************************