diff options
Diffstat (limited to 'Source/CMCopyTable.h')
-rw-r--r-- | Source/CMCopyTable.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/CMCopyTable.h b/Source/CMCopyTable.h index 95dd0c4b..03fc53cb 100644 --- a/Source/CMCopyTable.h +++ b/Source/CMCopyTable.h @@ -25,6 +25,8 @@ #import <AppKit/AppKit.h> #import "SPTableView.h" +@class SPDataStorage; + /*! @class copyTable @abstract subclassed NSTableView to implement copy & drag-n-drop @@ -39,7 +41,8 @@ id mySQLConnection; // current MySQL connection NSArray* columnDefinitions; // array of NSDictionary containing info about columns NSString* selectedTable; // the name of the current selected table - + SPDataStorage* tableStorage; // the underlying storage array holding the table data + NSUserDefaults *prefs; } @@ -102,7 +105,12 @@ /* * Set all necessary data from the table content view. */ -- (void)setTableInstance:(id)anInstance withColumns:(NSArray *)columnDefs withTableName:(NSString *)aTableName withConnection:(id)aMySqlConnection; +- (void)setTableInstance:(id)anInstance withTableData:(SPDataStorage *)theTableStorage withColumns:(NSArray *)columnDefs withTableName:(NSString *)aTableName withConnection:(id)aMySqlConnection; + +/* + * Update the table storage location if necessary. + */ +- (void)setTableData:(SPDataStorage *)theTableStorage; @end |