aboutsummaryrefslogtreecommitdiff
path: root/VKPC/WindowController.h
diff options
context:
space:
mode:
Diffstat (limited to 'VKPC/WindowController.h')
-rw-r--r--VKPC/WindowController.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/VKPC/WindowController.h b/VKPC/WindowController.h
new file mode 100644
index 0000000..435569e
--- /dev/null
+++ b/VKPC/WindowController.h
@@ -0,0 +1,18 @@
+//
+// WindowController.h
+// VKPC
+//
+// Created by Eugene on 12/1/13.
+// Copyright (c) 2013-2014 Eugene Z. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+@interface WindowController : NSWindowController<NSWindowDelegate>
+
+@property (strong) IBOutlet NSWindow *window;
+
+- (void)windowWillClose:(NSNotification *)notification;
+- (BOOL)allowsClosingWithShortcut;
+
+@end