aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-19 14:35:03 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-19 14:35:03 +0000
commit42848b23d2f5f49ff753baa9816da32b5ddd9e6e (patch)
tree7dd1215155de2cc1e4344f9673bb0d6d99b6c7fd /Source/TableContent.h
parentc8582f347c0536126d1066b5c5c6e69c0c91f522 (diff)
downloadsequelpro-42848b23d2f5f49ff753baa9816da32b5ddd9e6e.tar.gz
sequelpro-42848b23d2f5f49ff753baa9816da32b5ddd9e6e.tar.bz2
sequelpro-42848b23d2f5f49ff753baa9816da32b5ddd9e6e.zip
• added to TableContent.m:
- (NSArray * )currentDataResult -- like currentResult but returns "BLOB" for blob data and a base64 encoded string for images à la <IMG SRC="data:image/auto;base64,"> - (NSString * ) base64EncodingOfData:(NSData * )data withLineLength:(unsigned int)lineLength -- it returns a base64 encoded string of data • changed: currentDataResult is now called for printing from the Table Content Browser
Diffstat (limited to 'Source/TableContent.h')
-rw-r--r--Source/TableContent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TableContent.h b/Source/TableContent.h
index 1c294144..80305fca 100644
--- a/Source/TableContent.h
+++ b/Source/TableContent.h
@@ -108,6 +108,9 @@
//getter methods
- (NSArray *)currentResult;
+- (NSArray *)currentDataResult;
+
+- (NSString *) base64EncodingOfData:(NSData*)data withLineLength:(unsigned int)lineLength;
//additional methods
- (void)setConnection:(CMMCPConnection *)theConnection;