OSDN Git Service

SimpleHTMLEditorを追加。
[chnosproject/CHNOSProject.git] / CHNOSProject / SimpleHTMLEditor / SimpleHTMLEditor / AppDelegate.h
diff --git a/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/AppDelegate.h b/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/AppDelegate.h
new file mode 100644 (file)
index 0000000..6fe5bd2
--- /dev/null
@@ -0,0 +1,29 @@
+//
+//  AppDelegate.h
+//  SimpleHTMLEditor
+//
+//  Created by 西田 耀 on 13/04/13.
+//  Copyright (c) 2013年 CHNOSProject. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import <WebKit/WebKit.h>
+
+@interface AppDelegate : NSObject <NSApplicationDelegate>
+{
+    IBOutlet WebView *mainWebView;
+    __weak NSTextField *_addressBar;
+    __unsafe_unretained NSTextView *_editBox;
+    __weak NSTextField *_filePathLabel;
+    __weak NSMenuItem *_menuSaveAsButton;
+}
+
+@property (assign) IBOutlet NSWindow *window;
+@property (weak) IBOutlet NSTextField *addressBar;
+
+- (IBAction)display:(id)sender;
+- (IBAction)saveHTMLForFile:(id)sender;
+@property (unsafe_unretained) IBOutlet NSTextView *editBox;
+@property (weak) IBOutlet NSTextField *filePathLabel;
+@property (weak) IBOutlet NSMenuItem *menuSaveAsButton;
+@end