about.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * about.h: MacOS X About Panel
00003  *****************************************************************************
00004  * Copyright (C) 2001-2007 the VideoLAN team
00005  * $Id$
00006  *
00007  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
00008  *          Felix Paul Kühne <fkuehne -at- videolan.org>
00009  *
00010  * This program is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2 of the License, or
00013  * (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00023  *****************************************************************************/
00024 
00025 #import <WebKit/WebKit.h> //we need to be here, because we're using a WebView object below
00026 
00027 /*****************************************************************************
00028  * VLAboutBox interface
00029  *****************************************************************************/
00030 @interface VLAboutBox : NSObject
00031 {
00032     /* main about panel and stuff related to its views */
00033     IBOutlet id o_about_window;
00034     IBOutlet id o_name_version_field;
00035     IBOutlet id o_revision_field;
00036     IBOutlet id o_copyright_field;
00037     IBOutlet id o_credits_textview;
00038     IBOutlet id o_credits_scrollview;
00039     IBOutlet id o_gpl_btn;
00040     IBOutlet id o_name_field;
00041 
00042     NSTimer *o_scroll_timer;
00043     float f_current;
00044     float f_end;
00045     NSTimeInterval i_start;
00046     BOOL b_restart;
00047     BOOL b_isSetUp;
00048     
00049     /* generic help window */
00050     IBOutlet id o_help_window;
00051     IBOutlet WebView *o_help_web_view; //we may _not_ use id here because of method name collisions
00052     IBOutlet id o_help_bwd_btn;
00053     IBOutlet id o_help_fwd_btn;
00054     IBOutlet id o_help_home_btn;
00055 
00056     /* licence window */
00057     IBOutlet id o_gpl_window;
00058     IBOutlet id o_gpl_field;
00059 }
00060 
00061 + (VLAboutBox *)sharedInstance;
00062 - (void)showAbout;
00063 - (void)VLCWillTerminate;
00064 - (void)showHelp;
00065 - (IBAction)showGPL:(id)sender;
00066 - (IBAction)helpGoHome:(id)sender;
00067 
00068 @end

Generated on Tue May 25 08:04:56 2010 for VLC by  doxygen 1.5.6