]> git.sesse.net Git - vlc/blob - modules/gui/macosx/controls.h
macosx: don't use NSNotifcations to handle VLC's dialog callbacks, always perform...
[vlc] / modules / gui / macosx / controls.h
1 /*****************************************************************************
2  * controls.h: MacOS X interface module
3  *****************************************************************************
4  * Copyright (C) 2002-2011 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8  *          Christophe Massiot <massiot@via.ecp.fr>
9  *          Derk-Jan Hartman <thedj@users.sourceforge.net>
10  *          Felix Paul Kühne <fkuehne at videolan org>
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25  *****************************************************************************/
26
27 #import "fspanel.h"
28
29 /*****************************************************************************
30  * VLCControls interface
31  *****************************************************************************/
32 @interface VLCControls : NSObject
33 {
34     IBOutlet id o_main;
35
36     IBOutlet id o_volumeslider;
37
38     IBOutlet id o_btn_repeat;
39     IBOutlet id o_btn_shuffle;
40
41     IBOutlet id o_specificTime_cancel_btn;
42     IBOutlet id o_specificTime_enter_fld;
43     IBOutlet id o_specificTime_goTo_lbl;
44     IBOutlet id o_specificTime_ok_btn;
45     IBOutlet id o_specificTime_win;
46     IBOutlet id o_specificTime_sec_lbl;
47     IBOutlet id o_specificTime_stepper;
48     IBOutlet id o_specificTime_mi;
49
50     IBOutlet VLCFSPanel *o_fs_panel;
51 }
52 - (IBAction)play:(id)sender;
53 - (IBAction)stop:(id)sender;
54 - (IBAction)faster:(id)sender;
55 - (IBAction)slower:(id)sender;
56 - (IBAction)normalSpeed:(id)sender;
57
58 - (IBAction)prev:(id)sender;
59 - (IBAction)next:(id)sender;
60 - (IBAction)random:(id)sender;
61 - (IBAction)repeat:(id)sender;
62 - (IBAction)loop:(id)sender;
63 - (IBAction)repeatButtonAction:(id)sender;
64 - (IBAction)quitAfterPlayback:(id)sender;
65
66 - (IBAction)forward:(id)sender;
67 - (IBAction)backward:(id)sender;
68
69 - (IBAction)volumeUp:(id)sender;
70 - (IBAction)volumeDown:(id)sender;
71 - (IBAction)mute:(id)sender;
72 - (IBAction)volumeSliderUpdated:(id)sender;
73
74 - (IBAction)showPosition: (id)sender;
75 - (IBAction)toogleFullscreen:(id)sender;
76 - (BOOL)isFullscreen;
77 - (IBAction)windowAction:(id)sender;
78
79 - (IBAction)telxTransparent:(id)sender;
80 - (IBAction)telxNavLink:(id)sender;
81 - (IBAction)lockVideosAspectRatio:(id)sender;
82 - (IBAction)addSubtitleFile:(id)sender;
83
84 - (BOOL)keyEvent:(NSEvent *)o_event;
85 - (void)scrollWheel: (NSEvent *)theEvent;
86
87 - (IBAction)goToSpecificTime:(id)sender;
88
89 - (id)fspanel;
90 @end
91