summaryrefslogtreecommitdiffstats
path: root/src/cmd/devdraw/osx-delegate.h
diff options
context:
space:
mode:
authorJeff Sickel <jas@corpus-callosum.com>2009-09-29 09:35:23 -0700
committerJeff Sickel <jas@corpus-callosum.com>2009-09-29 09:35:23 -0700
commit113867b836eaa85215e4b2ece5ccf612f34c3e03 (patch)
tree375cc7e2a45d14a5ae4694d55e803cea3b433cca /src/cmd/devdraw/osx-delegate.h
parentdaea2c7d501c3e825bede80992ade6b241efdce1 (diff)
downloadplan9port-113867b836eaa85215e4b2ece5ccf612f34c3e03.tar.gz
plan9port-113867b836eaa85215e4b2ece5ccf612f34c3e03.zip
devdraw: draft of new Cocoa-based devdraw
Can test with cd $PLAN9/src/cmd/devdraw mk devdraw-cocoa DEVDRAW=devdraw-cocoa colors
Diffstat (limited to 'src/cmd/devdraw/osx-delegate.h')
-rw-r--r--src/cmd/devdraw/osx-delegate.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd/devdraw/osx-delegate.h b/src/cmd/devdraw/osx-delegate.h
new file mode 100644
index 00000000..77dde759
--- /dev/null
+++ b/src/cmd/devdraw/osx-delegate.h
@@ -0,0 +1,15 @@
+#import <Foundation/NSObject.h>
+#import <AppKit/NSMenu.h>
+
+@class NSFileHandle;
+
+@interface DevdrawDelegate : NSObject
+{
+ NSFileHandle *readHandle;
+}
++(void)populateMainMenu;
++(void)populateApplicationMenu:(NSMenu *)aMenu;
++(void)populateViewMenu:(NSMenu *)aMenu;
++(void)populateWindowMenu:(NSMenu *)aMenu;
++(void)populateHelpMenu:(NSMenu *)aMenu;
+@end