]> git.sesse.net Git - vlc/blob - modules/gui/macosx/prefs.h
Merge branch 'master' into lpcm_encoder
[vlc] / modules / gui / macosx / prefs.h
1 /*****************************************************************************
2  * prefs.h: MacOS X module for vlc
3  *****************************************************************************
4  * Copyright (C) 2002-2007 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8  *
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.
13  *
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.
18  *
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  *****************************************************************************/
23
24 @class VLCTreeMainItem;
25
26 /*****************************************************************************
27  * VLCPrefs interface
28  *****************************************************************************/
29 @interface VLCPrefs : NSObject
30 {
31     intf_thread_t *p_intf;
32     VLCTreeMainItem * _rootTreeItem;
33     NSView *o_empty_view;
34     NSMutableDictionary *o_save_prefs;
35
36     IBOutlet id o_prefs_window;
37     IBOutlet id o_title;
38     IBOutlet id o_tree;
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_basicFull_matrix;
44 }
45
46 + (VLCPrefs *)sharedInstance;
47
48 - (void)initStrings;
49 - (void)setTitle: (NSString *) o_title_name;
50 - (void)showPrefs;
51 - (IBAction)savePrefs: (id)sender;
52 - (IBAction)closePrefs: (id)sender;
53 - (IBAction)resetAll: (id)sender;
54 - (IBAction)buttonAction: (id)sender;
55
56 @end
57
58 @interface VLCFlippedView : NSView
59 {
60
61 }
62
63 @end