summaryrefslogtreecommitdiff
path: root/pkg/osx/LauncherManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/osx/LauncherManager.m')
-rw-r--r--pkg/osx/LauncherManager.m30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkg/osx/LauncherManager.m b/pkg/osx/LauncherManager.m
index 36723db5..a40ac7c9 100644
--- a/pkg/osx/LauncherManager.m
+++ b/pkg/osx/LauncherManager.m
@@ -343,6 +343,31 @@ static NSString *AppendQuotedFilename(NSString *str, NSString *fileName)
free(doomwadpath);
}
+- (void) openREADME: (id) sender
+{
+ OpenDocumentation("README");
+}
+
+- (void) openINSTALL: (id) sender
+{
+ OpenDocumentation("INSTALL");
+}
+
+- (void) openCMDLINE: (id) sender
+{
+ OpenDocumentation("CMDLINE");
+}
+
+- (void) openCOPYING: (id) sender
+{
+ OpenDocumentation("COPYING");
+}
+
+- (void) openDocumentation: (id) sender
+{
+ OpenDocumentation("");
+}
+
- (void) awakeFromNib
{
[self->launcherWindow setTitle: @PACKAGE_NAME " Launcher"];
@@ -351,5 +376,10 @@ static NSString *AppendQuotedFilename(NSString *str, NSString *fileName)
[self setConfig];
}
+- (BOOL) addIWADPath: (NSString *) path
+{
+ return [self->iwadController addIWADPath: path];
+}
+
@end