diff options
Diffstat (limited to 'Source/SPFieldEditor.h')
-rw-r--r-- | Source/SPFieldEditor.h | 48 |
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 |