aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableCopy.h
diff options
context:
space:
mode:
authordrx777 <david.rekowski@gmx.de>2010-04-29 18:00:09 +0000
committerdrx777 <david.rekowski@gmx.de>2010-04-29 18:00:09 +0000
commit47d42106c45d7663c05aaf6d3f0feab71798b51c (patch)
tree8d33140d9ed7713318bd4dcf1ec40c67fbceb385 /Source/SPTableCopy.h
parenta980040e8546060e71166c363d2247407af12179 (diff)
downloadsequelpro-47d42106c45d7663c05aaf6d3f0feab71798b51c.tar.gz
sequelpro-47d42106c45d7663c05aaf6d3f0feab71798b51c.tar.bz2
sequelpro-47d42106c45d7663c05aaf6d3f0feab71798b51c.zip
Added class SPDBActionCommons providing common functionality to all derived DatabaseActions classes, thus reducing code duplicates.
Diffstat (limited to 'Source/SPTableCopy.h')
-rw-r--r--Source/SPTableCopy.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/Source/SPTableCopy.h b/Source/SPTableCopy.h
index a9c1f389..37ed452a 100644
--- a/Source/SPTableCopy.h
+++ b/Source/SPTableCopy.h
@@ -22,28 +22,15 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-#import <Foundation/Foundation.h>
-#import <MCPKit/MCPConnection.h>
+#import "SPDBActionCommons.h"
/**
* The SPTableCopy class povides functionality to copy tables between databases.
*/
-@interface SPTableCopy : NSObject {
- MCPConnection *connection;
- NSObject *parent;
+@interface SPTableCopy : SPDBActionCommons {
}
/**
- * @property MCPConnection references the MCPKit connection to MySQL; it has to be set.
- */
-@property (retain) MCPConnection *connection;
-
-/**
- * @property the parent object that issues the action, needs to provide stuff like tableWindow for messages
- */
-@property (retain) NSObject *parent;
-
-/**
* This method copies a table structure from one db to another.
*
* @param name name of the table in the source database