diff options
Diffstat (limited to 'Source/SPWindowController.h')
-rw-r--r-- | Source/SPWindowController.h | 12 |
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; |