diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-04-11 20:29:49 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-04-11 20:29:49 +0000 |
commit | 0ce916eb0583ec6b062786f91bee0133906671ce (patch) | |
tree | 68a5767ded966f4eadf53ba9ce85bcaf6d31b951 /Source/SPTableData.h | |
parent | 2621e79c75a0119a54c669b263caa82183bd19c8 (diff) | |
download | sequelpro-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.h | 12 |
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 |