summaryrefslogtreecommitdiff
path: root/indra/llwindow/llappdelegate-objc.h
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-01-08 16:22:54 -0500
committerGeenz <geenz@geenzo.com>2013-01-08 16:22:54 -0500
commit09b07e3619a71f142c1a3af41244d756e1230142 (patch)
tree5474f6c3a557693794714eaa7247a87edb6df8b1 /indra/llwindow/llappdelegate-objc.h
parent9ce3ab1a5248423eeea4d843bfb8407ed62b305e (diff)
Big change set:
- LLAppDelegate header relocated to LLWindow. Definition is still present in secondlife-bin (for compatibility reasons when loading a nib). - Return key handling fixed. - Command key now acts the same as the control key by issuing control character codes when the command key is pressed. - We now retrieve the window pointer directly from the app delegate in LLWindow.
Diffstat (limited to 'indra/llwindow/llappdelegate-objc.h')
-rw-r--r--indra/llwindow/llappdelegate-objc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/indra/llwindow/llappdelegate-objc.h b/indra/llwindow/llappdelegate-objc.h
new file mode 100644
index 0000000000..56b7a30797
--- /dev/null
+++ b/indra/llwindow/llappdelegate-objc.h
@@ -0,0 +1,22 @@
+//
+// LLAppDelegate.h
+// SecondLife
+//
+// Created by Geenz on 12/16/12.
+//
+//
+
+#import <Cocoa/Cocoa.h>
+#import "llopenglview-objc.h"
+#include "llwindowmacosx-objc.h"
+
+@interface LLAppDelegate : NSObject <NSApplicationDelegate> {
+ LLNSWindow *window;
+ NSTimer *frameTimer;
+}
+
+@property (assign) IBOutlet LLNSWindow *window;
+
+- (void) mainLoop;
+
+@end