aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-23 23:14:00 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-23 23:14:00 +0000
commitb02932c07c4fdbf5b8c051c5a7218c4c37cf4bf2 (patch)
tree0967f072a8d1a8c7c07874161c44183b50f5e2a7 /Source/TableDocument.h
parent528324fa17bb76bf590cfc17c9b436de660d5ed3 (diff)
downloadsequelpro-b02932c07c4fdbf5b8c051c5a7218c4c37cf4bf2.tar.gz
sequelpro-b02932c07c4fdbf5b8c051c5a7218c4c37cf4bf2.tar.bz2
sequelpro-b02932c07c4fdbf5b8c051c5a7218c4c37cf4bf2.zip
• add accessory view for Save Connection
- options: -- Include session data (selected table, queries, status, etc.) -- Save passwords + Encrypt SPF file with password for safety reasons Note: SP gives this warning in the Console: NSSecureTextFieldCell detected a field editor (_NSSavePanelTextView) that is not a NSTextView subclass designed to work with the cell. Ignoring... Why?
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r--Source/TableDocument.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h
index 130e061e..17de1f03 100644
--- a/Source/TableDocument.h
+++ b/Source/TableDocument.h
@@ -92,6 +92,12 @@
IBOutlet NSWindow *createTableSyntaxWindow;
IBOutlet NSWindow *connectionErrorDialog;
+ IBOutlet id saveConnectionAccessory;
+ IBOutlet id saveConnectionIncludeData;
+ IBOutlet id saveConnectionSavePassword;
+ IBOutlet id saveConnectionEncrypt;
+ IBOutlet NSSecureTextField *saveConnectionEncryptString;
+
SPConnectionController *connectionController;
SPUserManager *userManagerInstance;
@@ -176,7 +182,7 @@
- (NSWindow *)getCreateTableSyntaxWindow;
- (void) refreshCurrentDatabase;
- (void)saveConnectionPanelDidEnd:(NSSavePanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo;
-
+- (IBAction)saveConnectionAccessoryPasswordButton:(id)sender;
// Getter methods
- (NSString *)name;