aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCopyTable.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-04-22 17:44:57 +0000
committerstuconnolly <stuart02@gmail.com>2011-04-22 17:44:57 +0000
commit4611475c5b255eed9202474dd3bdee147e932946 (patch)
tree39bdc50e046f802265950c6e2607ca9ebda453be /Source/SPCopyTable.h
parent3ed8b33deeadcc98185911f41bc6bcb4e53b4719 (diff)
downloadsequelpro-4611475c5b255eed9202474dd3bdee147e932946.tar.gz
sequelpro-4611475c5b255eed9202474dd3bdee147e932946.tar.bz2
sequelpro-4611475c5b255eed9202474dd3bdee147e932946.zip
Bring outline view branch up to date with trunk (r3234:3277).
Diffstat (limited to 'Source/SPCopyTable.h')
-rw-r--r--Source/SPCopyTable.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/SPCopyTable.h b/Source/SPCopyTable.h
index 4723dbc9..87c4ec8c 100644
--- a/Source/SPCopyTable.h
+++ b/Source/SPCopyTable.h
@@ -28,6 +28,7 @@
#define SP_MAX_CELL_WIDTH 400
@class SPDataStorage;
+@class SPTableContent;
/*!
@class copyTable
@@ -39,7 +40,7 @@
*/
@interface SPCopyTable : SPTableView
{
- id tableInstance; // the table content view instance
+ SPTableContent* tableInstance; // the table content view instance
id mySQLConnection; // current MySQL connection
NSArray* columnDefinitions; // array of NSDictionary containing info about columns
NSString* selectedTable; // the name of the current selected table
@@ -84,6 +85,7 @@
*/
- (NSUInteger)draggingSourceOperationMaskForLocal:(BOOL)isLocal;
+#ifndef SP_REFACTOR /* method decls */
/*!
@method rowsAsTabStringWithHeaders:onlySelectedRows:
@abstract getter of the selected rows or all of the table for copy
@@ -105,6 +107,7 @@
@result The above described string, or nil if nothing selected
*/
- (NSString *)rowsAsCsvStringWithHeaders:(BOOL)withHeaders onlySelectedRows:(BOOL)onlySelected blobHandling:(NSInteger)withBlobHandling;
+#endif
/*
* Generate a string in form of INSERT INTO <table> VALUES () of
@@ -172,6 +175,8 @@
- (void)selectTableRows:(NSArray*)rowIndices;
+- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command;
+
@end
extern NSInteger MENU_EDIT_COPY;