aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataAdditions.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-19 16:43:46 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-19 16:43:46 +0000
commit77d8891b8b3dd3321eac871da0bde6fe1f38ea94 (patch)
treecce58051c81aaac79f23b7a68832fc682c1217f7 /Source/SPDataAdditions.h
parentad4dd380f0361475badfd33ea9ae9e586d39ed10 (diff)
downloadsequelpro-77d8891b8b3dd3321eac871da0bde6fe1f38ea94.tar.gz
sequelpro-77d8891b8b3dd3321eac871da0bde6fe1f38ea94.tar.bz2
sequelpro-77d8891b8b3dd3321eac871da0bde6fe1f38ea94.zip
• added: SPDataAdditions.m
- base64EncodingWithLineLength: • improved printing of blobs which contain image data - not it supports PDF preview - set maximum width to 100px or less
Diffstat (limited to 'Source/SPDataAdditions.h')
-rw-r--r--Source/SPDataAdditions.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/Source/SPDataAdditions.h b/Source/SPDataAdditions.h
new file mode 100644
index 00000000..5f51213e
--- /dev/null
+++ b/Source/SPDataAdditions.h
@@ -0,0 +1,33 @@
+//
+// $Id: SPDataAdditions.m 866 2009-06-15 16:05:54Z bibiko $
+//
+// SPDataAdditions.m
+// sequel-pro
+//
+// Created by Hans-Jörg Bibiko on June 19, 2009
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// More info at <http://code.google.com/p/sequel-pro/>
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface NSData (SPDataAdditions)
+
+- (NSString *) base64EncodingWithLineLength:(unsigned int)lineLength;
+
+
+@end