diff options
author | stuconnolly <stuart02@gmail.com> | 2010-07-07 22:02:13 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-07-07 22:02:13 +0000 |
commit | 2a1f907c897a4aa6970ed56cfc97e50307e4ea1a (patch) | |
tree | 38c6d9163aa71c030619a9e092e81a66e767f499 /Source/SPConnectionController.h | |
parent | 2327652bf0e17a04d8f888835979580638beda84 (diff) | |
download | sequelpro-2a1f907c897a4aa6970ed56cfc97e50307e4ea1a.tar.gz sequelpro-2a1f907c897a4aa6970ed56cfc97e50307e4ea1a.tar.bz2 sequelpro-2a1f907c897a4aa6970ed56cfc97e50307e4ea1a.zip |
As the initial MySQL connection is now threaded, start the current tab's progress indicator to indicate that it's connecting in the event that the user switches to a different tab. Also preserve the tab's label as 'Connecting...' when switching tabs.
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r-- | Source/SPConnectionController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index 2f274a27..4c8a0a9d 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -66,6 +66,7 @@ MCPConnection *mySQLConnection; BOOL automaticFavoriteSelection; BOOL cancellingConnection; + BOOL isConnecting; NSInteger previousType; NSInteger type; @@ -140,6 +141,8 @@ @property (readwrite, retain) NSString *connectionKeychainItemAccount; @property (readwrite, retain) NSString *connectionSSHKeychainItemName; @property (readwrite, retain) NSString *connectionSSHKeychainItemAccount; + +@property (readonly, assign) BOOL isConnecting; @property (readonly, assign) NSString *favoritesPBoardType; - (id)initWithDocument:(SPDatabaseDocument *)theTableDocument; |