aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseCopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseCopy.h')
-rw-r--r--Source/SPDatabaseCopy.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/Source/SPDatabaseCopy.h b/Source/SPDatabaseCopy.h
index 48219298..3776d5a1 100644
--- a/Source/SPDatabaseCopy.h
+++ b/Source/SPDatabaseCopy.h
@@ -23,36 +23,22 @@
// More info at <http://code.google.com/p/sequel-pro/>
-#import <Foundation/Foundation.h>
-#import <MCPKit/MCPConnection.h>
+#import "SPDBActionCommons.h"
#import "SPDatabaseInfo.h"
/**
* The SPDatabaseCopy class povides functionality to create a copy of a database.
*/
-@interface SPDatabaseCopy : NSObject {
- MCPConnection *connection;
+@interface SPDatabaseCopy : SPDBActionCommons {
SPDatabaseInfo *dbInfo;
- NSObject *parent;
}
/**
- * @property MCPConnection references the MCPKit connection to MySQL; it has to be set.
- */
-@property (retain) MCPConnection *connection;
-
-/**
* @property SPDatabaseInfo an instance of the database info class
*/
@property (retain) SPDatabaseInfo *dbInfo;
/**
- * @property the parent object that issues the action, needs to provide stuff like tableWindow for messages
- */
-@property (retain) NSObject *parent;
-
-
-/**
* This method retrieves the dbInfo object if it exists; otherwise it is generated and the
* connection is passed to it.
*