aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowManagement.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-11-06 00:26:12 +0100
committerMax <post@wickenrode.com>2015-11-06 00:26:12 +0100
commit5cd12392fa26ab93303b6b6b43de5a1a31a834f7 (patch)
tree3b121d3577cbe8a1053597a258ca1263d99c30e1 /Source/SPWindowManagement.h
parentba4469e78d664751b4da2d2d62db16163e838208 (diff)
downloadsequelpro-5cd12392fa26ab93303b6b6b43de5a1a31a834f7.tar.gz
sequelpro-5cd12392fa26ab93303b6b6b43de5a1a31a834f7.tar.bz2
sequelpro-5cd12392fa26ab93303b6b6b43de5a1a31a834f7.zip
* Change window creation to use a create-and-get model instead of create-then-get as that did cause problems on 10.11 in some cases (#2294)
backport of ea1d72868aabba227aa608a2a89079aa12ac70a1
Diffstat (limited to 'Source/SPWindowManagement.h')
-rw-r--r--Source/SPWindowManagement.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPWindowManagement.h b/Source/SPWindowManagement.h
index 66f65b6d..4d32d6d4 100644
--- a/Source/SPWindowManagement.h
+++ b/Source/SPWindowManagement.h
@@ -30,6 +30,8 @@
#import "SPAppController.h"
+@class SPWindowController;
+
/**
* @category SPWindowManagement SPWindowManagement.h
*
@@ -43,6 +45,10 @@
- (IBAction)newTab:(id)sender;
- (IBAction)duplicateTab:(id)sender;
+- (SPWindowController *)newWindow;
+- (SPDatabaseDocument *)makeNewConnectionTabOrWindow;
+- (SPWindowController *)frontController;
+
- (NSWindow *)frontDocumentWindow;
- (void)tabDragStarted:(id)sender;