aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-11-11 22:51:40 +0000
committerstuconnolly <stuart02@gmail.com>2009-11-11 22:51:40 +0000
commit876432a34ce9e99c45b16a2d42df5a0af8baec2c (patch)
tree7975276f6e55e829c54a72d1cb087ca824ec30ac /Source/SPConnectionController.h
parentf3ebf339d5649b25a75b65295e52c760751b690c (diff)
downloadsequelpro-876432a34ce9e99c45b16a2d42df5a0af8baec2c.tar.gz
sequelpro-876432a34ce9e99c45b16a2d42df5a0af8baec2c.tar.bz2
sequelpro-876432a34ce9e99c45b16a2d42df5a0af8baec2c.zip
Change the main window's non-connected/connecting state title to 'Sequel Pro' and only change it to 'Connecting...' when we are actually trying to establish a connection. Fixes issue #456.
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index 3fe45e9a..e4a26a06 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -45,8 +45,18 @@ enum spconnection_types
@end
+@interface NSObject (SPConnectionControllerDelegate)
+
+- (void)connectionControllerInitiatingConnection:(id)controller;
+- (void)connectionControllerConnectAttemptFailed:(id)controller;
+
+@end
+
+
@interface SPConnectionController : NSObject
{
+ id delegate;
+
TableDocument *tableDocument;
NSWindow *documentWindow;
NSSplitView *contentView;
@@ -103,6 +113,7 @@ enum spconnection_types
IBOutlet NSTextField *progressIndicatorText;
}
+@property (readwrite, assign) id delegate;
@property (readwrite, assign) int type;
@property (readwrite, retain) NSString *name;
@property (readwrite, retain) NSString *host;