aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorController.h
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-04-11 20:29:49 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-04-11 20:29:49 +0000
commit0ce916eb0583ec6b062786f91bee0133906671ce (patch)
tree68a5767ded966f4eadf53ba9ce85bcaf6d31b951 /Source/SPNavigatorController.h
parent2621e79c75a0119a54c669b263caa82183bd19c8 (diff)
downloadsequelpro-0ce916eb0583ec6b062786f91bee0133906671ce.tar.gz
sequelpro-0ce916eb0583ec6b062786f91bee0133906671ce.tar.bz2
sequelpro-0ce916eb0583ec6b062786f91bee0133906671ce.zip
initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate UI code from functional code
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r--Source/SPNavigatorController.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h
index cdac2706..20b3a796 100644
--- a/Source/SPNavigatorController.h
+++ b/Source/SPNavigatorController.h
@@ -26,6 +26,7 @@
@interface SPNavigatorController : NSWindowController
{
+#ifndef SP_REFACTOR /* ivars */
IBOutlet id outlineSchema2;
IBOutlet id navigatorWindow;
IBOutlet id infoTable;
@@ -36,7 +37,7 @@
IBOutlet id schema12SplitView;
NSUserDefaults *prefs;
-
+#endif
NSMutableDictionary *schemaData;
NSMutableDictionary *schemaDataFiltered;
NSMutableDictionary *allSchemaKeys;
@@ -44,7 +45,7 @@
NSMutableArray *updatingConnections;
NSMutableDictionary *expandStatus2;
NSMutableDictionary *cachedSortedKeys;
-
+#ifndef SP_REFACTOR /* ivars */
NSString *selectedKey2;
NSRect selectionViewPort2;
BOOL ignoreUpdate;
@@ -60,11 +61,12 @@
NSImage *fieldIcon;
Class NSDictionaryClass;
-
+#endif
}
+ (SPNavigatorController *)sharedNavigatorController;
+#ifndef SP_REFACTOR /* method decls */
- (IBAction)outlineViewAction:(id)sender;
- (IBAction)reloadAllStructures:(id)sender;
- (IBAction)filterTree:(id)sender;
@@ -74,11 +76,13 @@
- (NSString*)tableInfoLabelForIndex:(NSInteger)index ofType:(NSInteger)type;
- (void)updateNavigator:(NSNotification *)aNotification;
+#endif
- (NSDictionary *)dbStructureForConnection:(NSString*)connectionID;
- (NSArray *)allSchemaKeysForConnection:(NSString*)connectionID;
- (NSArray *)getUniqueDbIdentifierFor:(NSString*)term andConnection:(NSString*)connectionID ignoreFields:(BOOL)ignoreFields;
+#ifndef SP_REFACTOR /* method decls */
- (BOOL)isUpdatingConnection:(NSString*)connectionID;
- (BOOL)isUpdating;
@@ -91,5 +95,6 @@
- (BOOL)schemaPathExistsForConnection:(NSString*)connectionID andDatabase:(NSString*)dbname;
- (void)removeDatabase:(NSString*)db_id forConnectionID:(NSString*)connectionID;
+#endif
@end