]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/controls.h
macosx: adapt module_list_get calls for latest changes in core
[vlc] / modules / gui / macosx / controls.h
index cd5ab7d7d5ced281c1d37968972ac84b5c514fda..6f3b8aa35be73b228864ef6ffe2220f48347cea3 100644 (file)
@@ -1,19 +1,19 @@
 /*****************************************************************************
  * controls.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2002-2006 the VideoLAN team
+ * Copyright (C) 2002-2012 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Christophe Massiot <massiot@via.ecp.fr>
  *          Derk-Jan Hartman <thedj@users.sourceforge.net>
- *          Felix Kühne <fkuehne at videolan org>
+ *          Felix Paul Kühne <fkuehne at videolan org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#import "fspanel.h"
-
 /*****************************************************************************
- * VLCControls interface 
+ * VLCControls interface
  *****************************************************************************/
 @interface VLCControls : NSObject
 {
     IBOutlet id o_main;
 
-    IBOutlet id o_btn_fullscreen;
-    IBOutlet id o_volumeslider;
-    
-    IBOutlet id o_btn_shuffle;
-    IBOutlet id o_btn_addNode;
-    IBOutlet id o_btn_repeat;
-
     IBOutlet id o_specificTime_cancel_btn;
     IBOutlet id o_specificTime_enter_fld;
     IBOutlet id o_specificTime_goTo_lbl;
     IBOutlet id o_specificTime_sec_lbl;
     IBOutlet id o_specificTime_stepper;
     IBOutlet id o_specificTime_mi;
-    
-    VLCFSPanel *o_fs_panel;
 }
 
 - (IBAction)play:(id)sender;
 - (IBAction)stop:(id)sender;
-- (IBAction)faster:(id)sender;
-- (IBAction)slower:(id)sender;
 
 - (IBAction)prev:(id)sender;
 - (IBAction)next:(id)sender;
 - (IBAction)random:(id)sender;
 - (IBAction)repeat:(id)sender;
 - (IBAction)loop:(id)sender;
-- (IBAction)repeatButtonAction:(id)sender;
-
-/* the three ugly helpers again */
-- (void)repeatOne;
-- (void)repeatAll;
-- (void)repeatOff;
-- (void)shuffle;
+- (IBAction)quitAfterPlayback:(id)sender;
 
 - (IBAction)forward:(id)sender;
 - (IBAction)backward:(id)sender;
 - (IBAction)mute:(id)sender;
 - (IBAction)volumeSliderUpdated:(id)sender;
 
-- (IBAction)windowAction:(id)sender;
-- (BOOL)keyEvent:(NSEvent *)o_event;
-
-- (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)getFSPanel;
-
-@end
-
-/*****************************************************************************
- * VLCMenuExt interface 
- *****************************************************************************
- * This holds our data for autogenerated menus
- *****************************************************************************/
-@interface VLCMenuExt : NSObject
-{
-    char *psz_name;
-    int i_object_id;
-    vlc_value_t value;
-    int i_type;
-}
-
-- (id)initWithVar: (const char *)_psz_name Object: (int)i_id
-        Value: (vlc_value_t)val ofType: (int)_i_type;
-- (char *)name;
-- (int)objectID;
-- (vlc_value_t)value;
-- (int)type;
+- (IBAction)showPosition: (id)sender;
 
-@end
+- (IBAction)telxTransparent:(id)sender;
+- (IBAction)telxNavLink:(id)sender;
+- (IBAction)lockVideosAspectRatio:(id)sender;
+- (IBAction)addSubtitleFile:(id)sender;
 
-/*****************************************************************************
- * VLCTimeField interface 
- *****************************************************************************
- * we need the implementation to catch our click-event in the controller window
- *****************************************************************************/
+- (BOOL)keyEvent:(NSEvent *)o_event;
 
-@interface VLCTimeField : NSTextField
-{
-}
+- (IBAction)goToSpecificTime:(id)sender;
 @end