X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fabout.h;h=b04355f7eda1742f9053111e6708c9a12e0bfc63;hb=657fff36d7b2ea46b1dfe5bd5c21c4395f28b245;hp=b29fdc80667ce6243c5ec0eda194a21be0186b0b;hpb=6ee1e193fd896ab9a4729fde14f009d9ce629815;p=vlc diff --git a/modules/gui/macosx/about.h b/modules/gui/macosx/about.h index b29fdc8066..b04355f7ed 100644 --- a/modules/gui/macosx/about.h +++ b/modules/gui/macosx/about.h @@ -1,10 +1,11 @@ /***************************************************************************** * about.h: MacOS X About Panel ***************************************************************************** - * Copyright (C) 2001-2005 the VideoLAN team + * Copyright (C) 2001-2007 the VideoLAN team * $Id$ * * Authors: Derk-Jan Hartman + * Felix Paul Kühne * * 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 @@ -21,35 +22,47 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#import //we need to be here, because we're using a WebView object below + /***************************************************************************** * VLAboutBox interface *****************************************************************************/ @interface VLAboutBox : NSObject { + /* main about panel and stuff related to its views */ IBOutlet id o_about_window; IBOutlet id o_name_version_field; IBOutlet id o_revision_field; IBOutlet id o_copyright_field; IBOutlet id o_credits_textview; IBOutlet id o_credits_scrollview; - + IBOutlet id o_gpl_btn; + IBOutlet id o_name_field; + NSTimer *o_scroll_timer; float f_current; float f_end; NSTimeInterval i_start; BOOL b_restart; - - NSString *o_credits_path; - NSString *o_credits; - NSString *o_thanks; - NSString *o_name_version; - NSString *o_copyright; - NSDictionary *o_info_dict; - CFBundleRef localInfoBundle; - NSDictionary *o_local_dict; + BOOL b_isSetUp; + + /* generic help window */ + IBOutlet id o_help_window; + IBOutlet WebView *o_help_web_view; //we may _not_ use id here because of method name collisions + IBOutlet id o_help_bwd_btn; + IBOutlet id o_help_fwd_btn; + IBOutlet id o_help_home_btn; + + /* licence window */ + IBOutlet id o_gpl_window; + IBOutlet id o_gpl_field; } + (VLAboutBox *)sharedInstance; -- (void)showPanel; +- (void)showAbout; +- (void)VLCWillTerminate; +- (void)showHelp; +- (IBAction)showGPL:(id)sender; +- (IBAction)helpGoHome:(id)sender; @end