aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-17 23:49:54 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-17 23:49:54 +0000
commite963cec5171253920651b4e66b340746761e91f1 (patch)
treeedce20f9e5e78eb0f956d2dbe56cca2686097770 /Source/SPNavigatorController.h
parentc4c24a3b54abb9fcab76bf204535e64bb2b0f61c (diff)
downloadsequelpro-e963cec5171253920651b4e66b340746761e91f1.tar.gz
sequelpro-e963cec5171253920651b4e66b340746761e91f1.tar.bz2
sequelpro-e963cec5171253920651b4e66b340746761e91f1.zip
• initial commit to support a connection/schema navigator (not yet active - to try see line 1134 in TableDocument.m)
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r--Source/SPNavigatorController.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h
new file mode 100644
index 00000000..4687f404
--- /dev/null
+++ b/Source/SPNavigatorController.h
@@ -0,0 +1,47 @@
+//
+// $Id$
+//
+// SPNavigatorController.h
+// sequel-pro
+//
+// Created by Hans-J. Bibiko on March 17, 2010.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// More info at <http://code.google.com/p/sequel-pro/>
+
+#import <Cocoa/Cocoa.h>
+#import <MCPKit/MCPKit.h>
+
+
+@interface SPNavigatorController : NSWindowController {
+
+ IBOutlet id outlineSchema1;
+ IBOutlet id outlineSchema2;
+ IBOutlet id navigatorWindow;
+
+ NSUserDefaults *prefs;
+
+ NSMutableDictionary *schemaData;
+
+}
+
++ (SPNavigatorController *)sharedNavigatorController;
+
+- (IBAction)outlineViewAction:(id)sender;
+
+- (void)updateEntries;
+
+@end