]> git.sesse.net Git - vlc/blob - modules/gui/macosx/about.h
* cleaning, reformatting, clarifying here and there...
[vlc] / modules / gui / macosx / about.h
1 /*****************************************************************************
2  * about.h: MacOS X About Panel
3  *****************************************************************************
4  * Copyright (C) 2001-2007 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
8  *          Felix Paul K\9fhne <fkuehne -at- videolan.org>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23  *****************************************************************************/
24
25 /*****************************************************************************
26  * VLAboutBox interface
27  *****************************************************************************/
28 @interface VLAboutBox : NSObject
29 {
30     /* main about panel and stuff related to its views */
31     IBOutlet id o_about_window;
32     IBOutlet id o_name_version_field;
33     IBOutlet id o_revision_field;
34     IBOutlet id o_copyright_field;
35     IBOutlet id o_credits_textview;
36     IBOutlet id o_credits_scrollview;
37     IBOutlet id o_gpl_btn;
38     IBOutlet id o_name_field;
39
40     NSTimer *o_scroll_timer;
41     float f_current;
42     float f_end;
43     NSTimeInterval i_start;
44     BOOL b_restart;
45     BOOL b_isSetUp;
46
47     /* generic help window */
48     IBOutlet id o_help_window;
49     IBOutlet id o_help_web_view;
50
51     /* licence window */
52     IBOutlet id o_gpl_window;
53     IBOutlet id o_gpl_field;
54 }
55
56 + (VLAboutBox *)sharedInstance;
57 - (void)showAbout;
58 - (void)showHelp;
59 - (IBAction)showGPL:(id)sender;
60
61 @end