aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMImageView.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-03-05 21:38:51 +0000
committerrowanbeentje <rowan@beent.je>2009-03-05 21:38:51 +0000
commit68dd0c0f1bd028725d697ed2fc1f2ce33bb9682f (patch)
treef3db7f49eabccd09f21b0479145bb8baa9f76134 /Source/CMImageView.h
parent0ebdbeb0201580e5abcded23dd37b6b3516cbb84 (diff)
downloadsequelpro-68dd0c0f1bd028725d697ed2fc1f2ce33bb9682f.tar.gz
sequelpro-68dd0c0f1bd028725d697ed2fc1f2ce33bb9682f.tar.bz2
sequelpro-68dd0c0f1bd028725d697ed2fc1f2ce33bb9682f.zip
- Fix a number of edit sheet crashers regarding opening and saving files, image deletions, and image drag and dropping (fixes Issue #85 and google groups report)
- Improves compatbility of drag-and-drops onto the image well, including support for image drags from other applications - Attempt to automatically select the image or text tab in the edit sheet as appropriate - Fixes build-from-clean warnings caused by an unexposed function added in r375
Diffstat (limited to 'Source/CMImageView.h')
-rw-r--r--Source/CMImageView.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/CMImageView.h b/Source/CMImageView.h
index f52e8e5b..f4684cdc 100644
--- a/Source/CMImageView.h
+++ b/Source/CMImageView.h
@@ -24,13 +24,18 @@
#import <Cocoa/Cocoa.h>
+@interface NSObject (CMImageViewDelegate)
+
+- (void)processUpdatedImageData:(NSData *)data;
+
+@end
@interface CMImageView : NSImageView {
-
- NSString *draggedFilePath;
-
+
+ IBOutlet id delegate;
+
}
-- (NSString *)draggedFilePath;
+- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
@end