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