X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fprefs.h;h=932af1549ab296d42b59d78f7ee81352dbbddb23;hb=0ad4e448d1d8b54a75415370c7e2b56764c2c92b;hp=ac1415ae3d1ea32be2244e5efa22b2d170ef549d;hpb=060244a84ddcdac216e401523051ff9fc61ce06a;p=vlc diff --git a/modules/gui/macosx/prefs.h b/modules/gui/macosx/prefs.h index ac1415ae3d..932af1549a 100644 --- a/modules/gui/macosx/prefs.h +++ b/modules/gui/macosx/prefs.h @@ -1,16 +1,16 @@ /***************************************************************************** * prefs.h: MacOS X module for vlc ***************************************************************************** - * Copyright (C) 2002-2005 VideoLAN + * Copyright (C) 2002-2007 the VideoLAN team * $Id$ * - * Authors: Jon Lech Johansen + * Authors: Jon Lech Johansen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -18,12 +18,14 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ @interface VLCTreeItem : NSObject { NSString *o_name; + NSString *o_title; + NSString *o_help; int i_object_id; VLCTreeItem *o_parent; NSMutableArray *o_children; @@ -36,9 +38,12 @@ - (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; +- (NSView *)showView:(NSScrollView *)o_prefs_view; - (void)applyChanges; +- (void)resetView; @end @@ -48,28 +53,29 @@ @interface VLCPrefs : NSObject { intf_thread_t *p_intf; - vlc_bool_t b_advanced; VLCTreeItem *o_config_tree; NSView *o_empty_view; 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; IBOutlet id o_cancel_btn; IBOutlet id o_reset_btn; - IBOutlet id o_advanced_ckb; + IBOutlet id o_basicFull_matrix; } + (VLCPrefs *)sharedInstance; - (void)initStrings; +- (void)setTitle: (NSString *) o_title_name; - (void)showPrefs; - (IBAction)savePrefs: (id)sender; - (IBAction)closePrefs: (id)sender; - (IBAction)resetAll: (id)sender; -- (IBAction)advancedToggle: (id)sender; +- (IBAction)buttonAction: (id)sender; @end