diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-19 14:35:03 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-19 14:35:03 +0000 |
commit | 42848b23d2f5f49ff753baa9816da32b5ddd9e6e (patch) | |
tree | 7dd1215155de2cc1e4344f9673bb0d6d99b6c7fd /Source/TableContent.h | |
parent | c8582f347c0536126d1066b5c5c6e69c0c91f522 (diff) | |
download | sequelpro-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.h | 3 |
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; |