aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataAdditions.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-24 11:02:23 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-24 11:02:23 +0000
commit40880459c66165a264faa561319c996d82613fac (patch)
treea5be30704b5cfb26e9f3a3500a0869c589e0fc82 /Source/SPDataAdditions.h
parentb02932c07c4fdbf5b8c051c5a7218c4c37cf4bf2 (diff)
downloadsequelpro-40880459c66165a264faa561319c996d82613fac.tar.gz
sequelpro-40880459c66165a264faa561319c996d82613fac.tar.bz2
sequelpro-40880459c66165a264faa561319c996d82613fac.zip
• further improvements for open/save spf files
- added encryption code routine - if encrypted ask for password • added to SPDataAdditions dataEn/DecryptedWithPassword: • tiny fixes for cascading new doc windows - never decrease win size less than minSize - large win width detection now gets rid of all connected monitors • updated credits.rtf
Diffstat (limited to 'Source/SPDataAdditions.h')
-rw-r--r--Source/SPDataAdditions.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/SPDataAdditions.h b/Source/SPDataAdditions.h
index fcf2640c..40bea690 100644
--- a/Source/SPDataAdditions.h
+++ b/Source/SPDataAdditions.h
@@ -26,9 +26,11 @@
@interface NSData (SPDataAdditions)
-- (NSString *) base64EncodingWithLineLength:(unsigned int)lineLength;
-- (NSString *) dataToFormattedHexString;
-- (NSString *) shortStringRepresentationUsingEncoding:(NSStringEncoding)encoding;
+- (NSString *)base64EncodingWithLineLength:(unsigned int)lineLength;
+- (NSString *)dataToFormattedHexString;
+- (NSString *)shortStringRepresentationUsingEncoding:(NSStringEncoding)encoding;
+- (NSData*)dataEncryptedWithPassword:(NSString*)password;
+- (NSData*)dataDecryptedWithPassword:(NSString*)password;
- (NSData *)compress;
- (NSData *)decompress;