aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-10 15:34:14 +0000
committerrowanbeentje <rowan@beent.je>2009-04-10 15:34:14 +0000
commit06a412a95e9882c71d40272999f65a89e3447564 (patch)
tree9d48b50c6d322ef3787aec3d394940cafa976628 /Source/TableDocument.h
parenta199e73f7acf177cf197fea3e4dc0abe2ab4789b (diff)
downloadsequelpro-06a412a95e9882c71d40272999f65a89e3447564.tar.gz
sequelpro-06a412a95e9882c71d40272999f65a89e3447564.tar.bz2
sequelpro-06a412a95e9882c71d40272999f65a89e3447564.zip
- Make MainController the application delegate, and override standard automatic creation methods to only trigger automatic connection (if enabled in prefs) for automatically created windows
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r--Source/TableDocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h
index 7c9ce223..f58faad5 100644
--- a/Source/TableDocument.h
+++ b/Source/TableDocument.h
@@ -92,12 +92,14 @@
BOOL _supportsEncoding;
NSString *_encoding;
BOOL _encodingViaLatin1;
+ BOOL _shouldOpenConnectionAutomatically;
NSToolbar *mainToolbar;
NSToolbarItem *chooseDatabaseToolbarItem;
}
//start sheet
+- (void)setShouldAutomaticallyConnect:(BOOL)shouldAutomaticallyConnect;
- (IBAction)connectToDB:(id)sender;
- (IBAction)connect:(id)sender;
- (IBAction)cancelConnectSheet:(id)sender;