]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/prefs.h
* implement the extract-button of the bookmarks-window correctly (refs #22)
[vlc] / modules / gui / macosx / prefs.h
index 5ede2caeb3b68fa7993e0451e819589916f023cb..490d07d16e8e4317e0ebd2701ed34667d2e3cb55 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * prefs.h: MacOS X module for vlc
  *****************************************************************************
- * Copyright (C) 2002-2005 VideoLAN
+ * Copyright (C) 2002-2005 the VideoLAN team
  * $Id$
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> 
 @interface VLCTreeItem : NSObject
 {
     NSString *o_name;
+    NSString *o_title;
+    NSString *o_help;
     int i_object_id;
     VLCTreeItem *o_parent;
     NSMutableArray *o_children;
+    int i_object_category;
+    NSMutableArray *o_subviews;
 }
 
 + (VLCTreeItem *)rootItem;
 - (VLCTreeItem *)childAtIndex:(int)i_index;
 - (int)getObjectID;
 - (NSString *)getName;
+- (NSString *)getTitle;
+- (NSString *)getHelp;
 - (BOOL)hasPrefs:(NSString *)o_module_name;
+- (NSView *)showView:(NSScrollView *)o_prefs_view advancedView:(vlc_bool_t) b_advanced;
+- (void)applyChanges;
+- (void)resetView;
 
 @end
 
@@ -50,6 +59,7 @@
     NSMutableDictionary *o_save_prefs;
     
     IBOutlet id o_prefs_window;
+    IBOutlet id o_title;
     IBOutlet id o_tree;
     IBOutlet id o_prefs_view;
     IBOutlet id o_save_btn;
@@ -61,6 +71,7 @@
 + (VLCPrefs *)sharedInstance;
 
 - (void)initStrings;
+- (void)setTitle: (NSString *) o_title_name;
 - (void)showPrefs;
 - (IBAction)savePrefs: (id)sender;
 - (IBAction)closePrefs: (id)sender;