1 /*****************************************************************************
2 * prefs.h: MacOS X module for vlc
3 *****************************************************************************
4 * Copyright (C) 2002-2007 VLC authors and VideoLAN
7 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 @class VLCTreeMainItem;
26 /*****************************************************************************
28 *****************************************************************************/
29 @interface VLCPrefs : NSObject
31 intf_thread_t *p_intf;
32 VLCTreeMainItem * _rootTreeItem;
34 NSMutableDictionary *o_save_prefs;
36 IBOutlet id o_prefs_window;
39 IBOutlet id o_prefs_view;
40 IBOutlet id o_save_btn;
41 IBOutlet id o_cancel_btn;
42 IBOutlet id o_reset_btn;
43 IBOutlet id o_showBasic_btn;
46 + (VLCPrefs *)sharedInstance;
49 - (void)setTitle: (NSString *) o_title_name;
51 - (IBAction)savePrefs: (id)sender;
52 - (IBAction)closePrefs: (id)sender;
53 - (IBAction)resetAll: (id)sender;
54 - (IBAction)buttonAction: (id)sender;
58 @interface VLCFlippedView : NSView