1 /*****************************************************************************
2 * controls.h: MacOS X interface module
3 *****************************************************************************
4 * Copyright (C) 2002-2012 VLC authors and VideoLAN
7 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8 * Derk-Jan Hartman <thedj@users.sourceforge.net>
9 * Felix Paul Kühne <fkuehne at videolan org>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 *****************************************************************************/
26 /*****************************************************************************
27 * VLCControls interface
28 *****************************************************************************/
29 @interface VLCControls : NSObject
33 IBOutlet id o_specificTime_cancel_btn;
34 IBOutlet id o_specificTime_enter_fld;
35 IBOutlet id o_specificTime_goTo_lbl;
36 IBOutlet id o_specificTime_ok_btn;
37 IBOutlet id o_specificTime_win;
38 IBOutlet id o_specificTime_sec_lbl;
39 IBOutlet id o_specificTime_stepper;
40 IBOutlet id o_specificTime_mi;
43 @property (nonatomic) int jumpTimeValue;
45 - (IBAction)play:(id)sender;
46 - (IBAction)stop:(id)sender;
48 - (IBAction)prev:(id)sender;
49 - (IBAction)next:(id)sender;
50 - (IBAction)random:(id)sender;
51 - (IBAction)repeat:(id)sender;
52 - (IBAction)loop:(id)sender;
53 - (IBAction)quitAfterPlayback:(id)sender;
55 - (IBAction)forward:(id)sender;
56 - (IBAction)backward:(id)sender;
58 - (IBAction)volumeUp:(id)sender;
59 - (IBAction)volumeDown:(id)sender;
60 - (IBAction)mute:(id)sender;
61 - (IBAction)volumeSliderUpdated:(id)sender;
63 - (IBAction)showPosition: (id)sender;
65 - (IBAction)lockVideosAspectRatio:(id)sender;
67 - (BOOL)keyEvent:(NSEvent *)o_event;
69 - (IBAction)goToSpecificTime:(id)sender;