From 47d42106c45d7663c05aaf6d3f0feab71798b51c Mon Sep 17 00:00:00 2001 From: drx777 Date: Thu, 29 Apr 2010 18:00:09 +0000 Subject: Added class SPDBActionCommons providing common functionality to all derived DatabaseActions classes, thus reducing code duplicates. --- Source/SPDatabaseInfo.h | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'Source/SPDatabaseInfo.h') diff --git a/Source/SPDatabaseInfo.h b/Source/SPDatabaseInfo.h index 45583e5c..3f68b773 100644 --- a/Source/SPDatabaseInfo.h +++ b/Source/SPDatabaseInfo.h @@ -22,28 +22,14 @@ // // More info at -#import -#import "MCPConnection.h" -#import "MCPResult.h" +#import "SPDBActionCommons.h" /* * The SPDatabaseInfo class provides means of retrieving a list of database names */ -@interface SPDatabaseInfo : NSObject { - MCPConnection *connection; - NSObject *parent; +@interface SPDatabaseInfo : 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 checks, whether a database exists. * -- cgit v1.2.3