aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldEditor.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-25 15:54:21 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-25 15:54:21 +0000
commit838e5a6c3db933cf0d8453db6620e0c6f2ff365d (patch)
tree297d1eee5d70fad6af454ff239151df8d72ee2e5 /Source/SPFieldEditor.h
parent2e8158e764daeda731b13c0a679c4f3ea02d0626 (diff)
downloadsequelpro-838e5a6c3db933cf0d8453db6620e0c6f2ff365d.tar.gz
sequelpro-838e5a6c3db933cf0d8453db6620e0c6f2ff365d.tar.bz2
sequelpro-838e5a6c3db933cf0d8453db6620e0c6f2ff365d.zip
• added SPFieldEditor class
- (not yet fully implemented)
Diffstat (limited to 'Source/SPFieldEditor.h')
-rw-r--r--Source/SPFieldEditor.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/Source/SPFieldEditor.h b/Source/SPFieldEditor.h
new file mode 100644
index 00000000..8b057f80
--- /dev/null
+++ b/Source/SPFieldEditor.h
@@ -0,0 +1,48 @@
+//
+// SPFieldEditor.h
+// sequel-pro
+//
+// Created by Bibiko on 25.06.09.
+// Copyright 2009 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface SPFieldEditor : NSWindow {
+
+ IBOutlet id editSheetProgressBar;
+ IBOutlet id editSheet;
+ IBOutlet id editSheetSegmentControl;
+ IBOutlet id editSheetQuickLookButton;
+ IBOutlet id editImage;
+ IBOutlet id editTextView;
+ IBOutlet id hexTextView;
+ IBOutlet id editTextScrollView;
+ IBOutlet id hexTextScrollView;
+
+ id editData;
+ BOOL editSheetWillBeInitialized;
+ int quickLookCloseMarker;
+ NSStringEncoding encoding;
+
+}
+
+- (IBAction)closeEditSheet:(id)sender;
+- (IBAction)openEditSheet:(id)sender;
+- (IBAction)saveEditSheet:(id)sender;
+- (IBAction)dropImage:(id)sender;
+- (IBAction)segmentControllerChanged:(id)sender;
+- (IBAction)quickLookFormatButton:(id)sender;
+
+- (void)setEditData:(id)data;
+
+- (void)setMySQLConnectionEncoding:(NSStringEncoding)anEncoding;
+
+- (void)processPasteImageData;
+- (void)processUpdatedImageData:(NSData *)data;
+
+- (void)invokeQuickLookOfType:(NSString *)type treatAsText:(BOOL)isText;
+- (void)removeQuickLooksTempFile:(NSString*)aPath;
+
+@end