openWebsite = id;
reportABug = id;
timesliderUpdate = id;
+ viewAbout = id;
viewPreferences = id;
};
CLASS = VLCMain;
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
- <string>172 -174 505 517 0 0 1024 746 </string>
+ <string>47 61 505 517 0 0 800 578 </string>
<key>IBEditorPositions</key>
<dict>
<key>1617</key>
<key>2197</key>
<string>237 313 596 367 0 0 1024 746 </string>
<key>29</key>
- <string>84 667 419 44 0 0 1024 746 </string>
+ <string>421 486 419 44 0 0 800 578 </string>
<key>915</key>
<string>731 416 165 180 0 0 1024 746 </string>
</dict>
</array>
<key>IBOpenObjects</key>
<array>
- <integer>29</integer>
<integer>21</integer>
</array>
<key>IBSystem Version</key>
- <string>7R28</string>
+ <string>7S215</string>
</dict>
</plist>
}
+ (VLAboutBox *)sharedInstance;
-- (IBAction)showPanel:(id)sender;
+- (void)showPanel;
@end
return _o_sharedInstance;
}
-- (IBAction)showPanel:(id)sender
+- (void)showPanel
{
if (!o_credits_path)
{
{
intf_thread_t *p_intf; /* The main intf object */
id o_prefs; /* VLCPrefs */
+ id o_about; /* VLAboutBox */
IBOutlet id o_window; /* main window */
IBOutlet id o_scrollfield; /* info field */
- (IBAction)clearRecentItems:(id)sender;
- (void)openRecentItem:(id)sender;
+- (IBAction)viewAbout:(id)sender;
- (IBAction)viewPreferences:(id)sender;
- (IBAction)closeError:(id)sender;
- (IBAction)openReadMe:(id)sender;
#include "prefs.h"
#include "playlist.h"
#include "controls.h"
+#include "about.h"
/*****************************************************************************
* Local prototypes.
} else {
_o_sharedMainInstance = [super init];
}
-
+
+ o_about = [[VLAboutBox alloc] init];
+
return _o_sharedMainInstance;
}
[self application: nil openFile: [sender title]];
}
+- (IBAction)viewAbout:(id)sender
+{
+ [o_about showPanel];
+}
+
- (IBAction)viewPreferences:(id)sender
{
[o_prefs showPrefs];