]> git.sesse.net Git - vlc/blob - modules/gui/macosx/about.h
macosx: fix typo preventing post-processing (refs #11613)
[vlc] / modules / gui / macosx / about.h
1 /*****************************************************************************
2  * about.h: MacOS X About Panel
3  *****************************************************************************
4  * Copyright (C) 2001-2013 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
8  *          Felix Paul Kühne <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 #import <WebKit/WebKit.h> //we need to be here, because we're using a WebView object below
26
27 /*****************************************************************************
28  * VLAboutBox interface
29  *****************************************************************************/
30 @interface VLAboutBox : NSObject
31 {
32     /* main about panel and stuff related to its views */
33     IBOutlet id o_about_window;
34     IBOutlet id o_name_version_field;
35     IBOutlet id o_revision_field;
36     IBOutlet id o_copyright_field;
37     IBOutlet id o_credits_textview;
38     IBOutlet id o_credits_scrollview;
39     IBOutlet id o_gpl_btn;
40     IBOutlet id o_credits_btn;
41     IBOutlet id o_authors_btn;
42     IBOutlet id o_name_field;
43     IBOutlet id o_icon_view;
44     IBOutlet id o_joinus_txt;
45     IBOutlet id o_trademarks_txt;
46
47     NSTimer *o_scroll_timer;
48     float f_current;
49     CGFloat f_end;
50     NSTimeInterval i_start;
51     BOOL b_restart;
52     BOOL b_isSetUp;
53
54     NSString *o_authors;
55
56     /* generic help window */
57     IBOutlet id o_help_window;
58     IBOutlet WebView *o_help_web_view; //we may _not_ use id here because of method name collisions
59     IBOutlet id o_help_bwd_btn;
60     IBOutlet id o_help_fwd_btn;
61     IBOutlet id o_help_home_btn;
62 }
63
64 + (VLAboutBox *)sharedInstance;
65 - (void)showAbout;
66 - (void)showHelp;
67 - (void)showGPL;
68 - (IBAction)buttonAction:(id)sender;
69 - (IBAction)helpGoHome:(id)sender;
70
71 @end