aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-05-23 21:44:59 +0000
committerrowanbeentje <rowan@beent.je>2010-05-23 21:44:59 +0000
commitc661b409eaa0e29d9e012b79e7a66574a554817a (patch)
tree49b310ded9a226a66aa53444c9ba112824854f68 /Source/SPAppController.h
parentb66006f3755c6a57dfc60d4133bc4dc4da0fef56 (diff)
downloadsequelpro-c661b409eaa0e29d9e012b79e7a66574a554817a.tar.gz
sequelpro-c661b409eaa0e29d9e012b79e7a66574a554817a.tar.bz2
sequelpro-c661b409eaa0e29d9e012b79e7a66574a554817a.zip
Initial implementation of tabs:
- Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
Diffstat (limited to 'Source/SPAppController.h')
-rw-r--r--Source/SPAppController.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h
index 86b9db13..e1ed4291 100644
--- a/Source/SPAppController.h
+++ b/Source/SPAppController.h
@@ -26,7 +26,7 @@
#import <Cocoa/Cocoa.h>
#import <FeedbackReporter/FRFeedbackReporter.h>
-@class SPPreferenceController, SPAboutController;
+@class SPPreferenceController, SPAboutController, TableDocument;
@interface SPAppController : NSObject <FRFeedbackReporterDelegate>
{
@@ -38,6 +38,11 @@
id encodingPopUp;
}
+// Window management
+- (IBAction)newWindow:(id)sender;
+- (IBAction)newTab:(id)sender;
+- (NSWindow *) frontDocumentWindow;
+
// IBAction methods
- (IBAction)openAboutPanel:(id)sender;
- (IBAction)openPreferences:(id)sender;
@@ -56,6 +61,8 @@
// Getters
- (SPPreferenceController *)preferenceController;
+- (NSArray *) orderedDatabaseConnectionWindows;
+- (TableDocument *) frontDocument;
// Feedback controller delegate methods
- (NSMutableDictionary*) anonymizePreferencesForFeedbackReport:(NSMutableDictionary *)preferences;