aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.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/SPTableData.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/SPTableData.h')
-rw-r--r--Source/SPTableData.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/SPTableData.h b/Source/SPTableData.h
index 1c3fa8f0..b4042527 100644
--- a/Source/SPTableData.h
+++ b/Source/SPTableData.h
@@ -25,10 +25,13 @@
#import <MCPKit/MCPKit.h>
+@class SPDatabaseDocument;
+@class SPTablesList;
+
@interface SPTableData : NSObject
{
- IBOutlet id tableDocumentInstance;
- IBOutlet id tableListInstance;
+ IBOutlet SPDatabaseDocument* tableDocumentInstance;
+ IBOutlet SPTablesList* tableListInstance;
NSMutableArray *columns;
NSMutableArray *columnNames;
@@ -74,4 +77,9 @@
- (NSDictionary *) parseFieldDefinitionStringParts:(NSArray *)definitionParts;
- (NSArray *) primaryKeyColumnNames;
+#ifdef SP_REFACTOR /* glue */
+- (void)setTableDocumentInstance:(SPDatabaseDocument*)doc;
+- (void)setTableListInstance:(SPTablesList*)list;
+#endif
+
@end