aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-06-12 20:52:27 +0000
committerrowanbeentje <rowan@beent.je>2010-06-12 20:52:27 +0000
commitb5255d9abe321b1c3cc4e701e33cb214986747c8 (patch)
tree162ff79511df53eace6142ffbf0f4c03efc9cdaf /Source/SPWindowController.h
parent78331b709c5f43e6ecbdedd3af06ed0dcf398dc9 (diff)
downloadsequelpro-b5255d9abe321b1c3cc4e701e33cb214986747c8.tar.gz
sequelpro-b5255d9abe321b1c3cc4e701e33cb214986747c8.tar.bz2
sequelpro-b5255d9abe321b1c3cc4e701e33cb214986747c8.zip
- Fix menu validation by forwarding SPWindowController requests to the frontmost document
- Track the frontmost document in a window to simplify code
Diffstat (limited to 'Source/SPWindowController.h')
-rw-r--r--Source/SPWindowController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPWindowController.h b/Source/SPWindowController.h
index 49c85acc..875bd7e5 100644
--- a/Source/SPWindowController.h
+++ b/Source/SPWindowController.h
@@ -34,11 +34,13 @@
NSMenuItem *closeTabMenuItem;
NSMutableArray *managedDatabaseConnections;
+ SPDatabaseDocument *selectedTableDocument;
}
// Database connection management
- (IBAction) addNewConnection:(id)sender;
- (SPDatabaseDocument *) selectedTableDocument;
+- (void) updateSelectedTableDocument;
- (void) updateAllTabTitles:(id)sender;
- (IBAction)closeTab:(id)sender;
- (IBAction)selectNextDocumentTab:(id)sender;