aboutsummaryrefslogtreecommitdiff
path: root/misc/osxfe/ioquake3fe/ErrorWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'misc/osxfe/ioquake3fe/ErrorWindowController.m')
-rw-r--r--misc/osxfe/ioquake3fe/ErrorWindowController.m20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/osxfe/ioquake3fe/ErrorWindowController.m b/misc/osxfe/ioquake3fe/ErrorWindowController.m
new file mode 100644
index 0000000..ceb3f8b
--- /dev/null
+++ b/misc/osxfe/ioquake3fe/ErrorWindowController.m
@@ -0,0 +1,20 @@
+//
+// ErrorWindowController.m
+// ioquake3fe
+//
+// Created by Ben Wilber on 3/11/09.
+// Copyright 2009 __MyCompanyName__. All rights reserved.
+//
+
+#import "ErrorWindowController.h"
+
+@implementation ErrorWindowController
+
+// yes, a whole class just so the fucking app will quit
+
+- (BOOL)windowShouldClose:(id)sender {
+ [NSApp terminate:self];
+ return YES;
+}
+
+@end