00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 @interface VLCTreeItem : NSObject
00025 {
00026 NSString *o_name;
00027 NSString *o_title;
00028 NSString *o_help;
00029 int i_object_id;
00030 VLCTreeItem *o_parent;
00031 NSMutableArray *o_children;
00032 int i_object_category;
00033 NSMutableArray *o_subviews;
00034 }
00035
00036 + (VLCTreeItem *)rootItem;
00037 - (int)numberOfChildren;
00038 - (VLCTreeItem *)childAtIndex:(int)i_index;
00039 - (int)getObjectID;
00040 - (NSString *)getName;
00041 - (NSString *)getTitle;
00042 - (NSString *)getHelp;
00043 - (BOOL)hasPrefs:(NSString *)o_module_name;
00044 - (NSView *)showView:(NSScrollView *)o_prefs_view advancedView:(vlc_bool_t) b_advanced;
00045 - (void)applyChanges;
00046 - (void)resetView;
00047
00048 @end
00049
00050
00051
00052
00053 @interface VLCPrefs : NSObject
00054 {
00055 intf_thread_t *p_intf;
00056 vlc_bool_t b_advanced;
00057 VLCTreeItem *o_config_tree;
00058 NSView *o_empty_view;
00059 NSMutableDictionary *o_save_prefs;
00060
00061 IBOutlet id o_prefs_window;
00062 IBOutlet id o_title;
00063 IBOutlet id o_tree;
00064 IBOutlet id o_prefs_view;
00065 IBOutlet id o_save_btn;
00066 IBOutlet id o_cancel_btn;
00067 IBOutlet id o_reset_btn;
00068 IBOutlet id o_advanced_ckb;
00069 }
00070
00071 + (VLCPrefs *)sharedInstance;
00072
00073 - (void)initStrings;
00074 - (void)setTitle: (NSString *) o_title_name;
00075 - (void)showPrefs;
00076 - (IBAction)savePrefs: (id)sender;
00077 - (IBAction)closePrefs: (id)sender;
00078 - (IBAction)resetAll: (id)sender;
00079 - (IBAction)advancedToggle: (id)sender;
00080
00081 @end
00082
00083 @interface VLCFlippedView : NSView
00084 {
00085
00086 }
00087
00088 @end