diff options
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r-- | Source/SPConnectionController.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index 03245d26..0ab3cc2e 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -24,10 +24,11 @@ // More info at <http://code.google.com/p/sequel-pro/> #import <Cocoa/Cocoa.h> +#import <MCPKit/MCPKit.h> + #import "TableDocument.h" #import "KeyChain.h" #import "SPSSHTunnel.h" -#import "CMMCPConnection.h" enum spconnection_types { @@ -36,7 +37,8 @@ enum spconnection_types SP_CONNECTION_SSHTUNNEL = 2 }; -@interface SPConnectionController : NSObject { +@interface SPConnectionController : NSObject +{ TableDocument *tableDocument; NSWindow *documentWindow; NSSplitView *contentView; @@ -44,7 +46,7 @@ enum spconnection_types NSUserDefaults *prefs; NSMutableArray *favorites; SPSSHTunnel *sshTunnel; - CMMCPConnection *mySQLConnection; + MCPConnection *mySQLConnection; BOOL automaticFavoriteSelection; int previousType; @@ -60,7 +62,7 @@ enum spconnection_types NSString *sshUser; NSString *sshPassword; NSString *sshPort; - + NSString *connectionKeychainItemName; NSString *connectionKeychainItemAccount; NSString *connectionSSHKeychainItemName; @@ -104,6 +106,11 @@ enum spconnection_types @property (readwrite, retain) NSString *sshPassword; @property (readwrite, retain) NSString *sshPort; +@property (readwrite, retain) NSString *connectionKeychainItemName; +@property (readwrite, retain) NSString *connectionKeychainItemAccount; +@property (readwrite, retain) NSString *connectionSSHKeychainItemName; +@property (readwrite, retain) NSString *connectionSSHKeychainItemAccount; + - (id) initWithDocument:(TableDocument *)theTableDocument; // Connection processes @@ -133,9 +140,8 @@ enum spconnection_types @end - @interface SPFlippedView: NSView -{ -} + - (BOOL)isFlipped; + @end |