aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowController.h
diff options
context:
space:
mode:
authorAbhi Beckert <abhi@abhibeckert.com>2016-01-29 06:40:18 +1000
committerAbhi Beckert <abhi@abhibeckert.com>2016-01-29 06:40:18 +1000
commitf4c4300dca0c416c12b3992204778ef9f37981ec (patch)
treee76a4747bf1c3f82bc037990bf84e3f13062601e /Source/SPWindowController.h
parent465062dacc96c2c84bfe9cff1ded58c14d01bdcd (diff)
parent3aadea1be33212ca50e7faffcd0620ea976f9d59 (diff)
downloadsequelpro-f4c4300dca0c416c12b3992204778ef9f37981ec.tar.gz
sequelpro-f4c4300dca0c416c12b3992204778ef9f37981ec.tar.bz2
sequelpro-f4c4300dca0c416c12b3992204778ef9f37981ec.zip
Merge remote-tracking branch 'sequelpro/master'
Diffstat (limited to 'Source/SPWindowController.h')
-rw-r--r--Source/SPWindowController.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/SPWindowController.h b/Source/SPWindowController.h
index c99a2ff2..528c1c84 100644
--- a/Source/SPWindowController.h
+++ b/Source/SPWindowController.h
@@ -49,7 +49,19 @@
// Database connection management
- (IBAction)addNewConnection:(id)sender;
- (IBAction)moveSelectedTabInNewWindow:(id)sender;
+
+- (SPDatabaseDocument *)addNewConnection;
+
+/**
+ * @danger THIS IS NOT RETAINED!!!
+ *
+ * Ever only directly use it on the main thread!
+ * Do not cache it without retaining first!
+ * For background threads get it and retain it via the main thread!
+ * Release it on the main thread again.
+ */
- (SPDatabaseDocument *)selectedTableDocument;
+
- (void)updateSelectedTableDocument;
- (void)updateAllTabTitles:(id)sender;
- (IBAction)closeTab:(id)sender;