aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseRename.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseRename.h')
-rw-r--r--Source/SPDatabaseRename.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/Source/SPDatabaseRename.h b/Source/SPDatabaseRename.h
index 9085cc54..bd52a86f 100644
--- a/Source/SPDatabaseRename.h
+++ b/Source/SPDatabaseRename.h
@@ -23,37 +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"
-#import "SPStringAdditions.h"
/**
* The SPDatabaseRename class povides functionality to rename a database.
*/
-@interface SPDatabaseRename : NSObject {
- MCPConnection *connection;
+@interface SPDatabaseRename : 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.
*