1 /*****************************************************************************
2 * TrackSynchronization.h: MacOS X interface module
3 *****************************************************************************
4 * Copyright (C) 2011 VLC authors and VideoLAN
5 * Copyright (C) 2011 Felix Paul Kühne
8 * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #import <Cocoa/Cocoa.h>
28 @interface VLCTrackSynchronization : NSObject {
31 intf_thread_t *p_intf;
32 IBOutlet id o_reset_btn;
36 IBOutlet id o_av_advance_lbl;
37 IBOutlet id o_av_minus_btn;
38 IBOutlet id o_av_plus_btn;
39 IBOutlet id o_av_value_fld;
41 /* Subtitles / Video */
43 IBOutlet id o_sv_advance_lbl;
44 IBOutlet id o_sv_advance_minus_btn;
45 IBOutlet id o_sv_advance_plus_btn;
46 IBOutlet id o_sv_advance_value_fld;
47 IBOutlet id o_sv_speed_lbl;
48 IBOutlet id o_sv_speed_minus_btn;
49 IBOutlet id o_sv_speed_plus_btn;
50 IBOutlet id o_sv_speed_value_fld;
54 + (VLCTrackSynchronization *)sharedInstance;
55 - (IBAction)toggleWindow:(id)sender;
56 - (IBAction)resetValues:(id)sender;
60 - (IBAction)avValueChanged:(id)sender;
62 /* Subtitles / Video */
63 - (IBAction)svAdvanceValueChanged:(id)sender;
64 - (IBAction)svSpeedValueChanged:(id)sender;