diff options
author | stuconnolly <stuart02@gmail.com> | 2012-05-04 14:42:34 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-05-04 14:42:34 +0000 |
commit | e188d1d53a1b1f8cf96d8ce82221f2013e63c23b (patch) | |
tree | a4e8ee412095d540cbf982822098daaba79529a7 /Source | |
parent | 5544489096885e4e4be1ab6e54160caaa44c03dc (diff) | |
download | sequelpro-e188d1d53a1b1f8cf96d8ce82221f2013e63c23b.tar.gz sequelpro-e188d1d53a1b1f8cf96d8ce82221f2013e63c23b.tar.bz2 sequelpro-e188d1d53a1b1f8cf96d8ce82221f2013e63c23b.zip |
Rename database action class.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPDatabaseAction.h (renamed from Source/SPDBActionCommons.h) | 2 | ||||
-rw-r--r-- | Source/SPDatabaseAction.m (renamed from Source/SPDBActionCommons.m) | 4 | ||||
-rw-r--r-- | Source/SPDatabaseCopy.h | 4 | ||||
-rw-r--r-- | Source/SPDatabaseCopy.m | 1 | ||||
-rw-r--r-- | Source/SPDatabaseRename.h | 4 | ||||
-rw-r--r-- | Source/SPDatabaseRename.m | 1 | ||||
-rw-r--r-- | Source/SPTableCopy.h | 4 | ||||
-rw-r--r-- | Source/SPTableCopy.m | 1 | ||||
-rw-r--r-- | Source/SPViewCopy.h | 4 | ||||
-rw-r--r-- | Source/SPViewCopy.m | 1 |
10 files changed, 12 insertions, 14 deletions
diff --git a/Source/SPDBActionCommons.h b/Source/SPDatabaseAction.h index 5b467e1d..a5d27218 100644 --- a/Source/SPDBActionCommons.h +++ b/Source/SPDatabaseAction.h @@ -26,7 +26,7 @@ @class SPTablesList; -@interface SPDBActionCommons : NSObject +@interface SPDatabaseAction : NSObject { NSWindow *messageWindow; SPTablesList *tablesList; diff --git a/Source/SPDBActionCommons.m b/Source/SPDatabaseAction.m index c12751cf..83509360 100644 --- a/Source/SPDBActionCommons.m +++ b/Source/SPDatabaseAction.m @@ -22,9 +22,9 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" +#import "SPDatabaseAction.h" -@implementation SPDBActionCommons +@implementation SPDatabaseAction @synthesize connection; @synthesize messageWindow; diff --git a/Source/SPDatabaseCopy.h b/Source/SPDatabaseCopy.h index 41a22ff0..392c6081 100644 --- a/Source/SPDatabaseCopy.h +++ b/Source/SPDatabaseCopy.h @@ -22,12 +22,12 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" +#import "SPDatabaseAction.h" /** * The SPDatabaseCopy class povides functionality to create a copy of a database. */ -@interface SPDatabaseCopy : SPDBActionCommons +@interface SPDatabaseCopy : SPDatabaseAction /** * This method clones an existing database. diff --git a/Source/SPDatabaseCopy.m b/Source/SPDatabaseCopy.m index 130f5d99..1425a4ee 100644 --- a/Source/SPDatabaseCopy.m +++ b/Source/SPDatabaseCopy.m @@ -22,7 +22,6 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" #import "SPDatabaseCopy.h" #import "SPTableCopy.h" diff --git a/Source/SPDatabaseRename.h b/Source/SPDatabaseRename.h index e097c741..d81f9618 100644 --- a/Source/SPDatabaseRename.h +++ b/Source/SPDatabaseRename.h @@ -22,12 +22,12 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" +#import "SPDatabaseAction.h" /** * The SPDatabaseRename class povides functionality to rename a database. */ -@interface SPDatabaseRename : SPDBActionCommons +@interface SPDatabaseRename : SPDatabaseAction /** * This method renames an existing database. diff --git a/Source/SPDatabaseRename.m b/Source/SPDatabaseRename.m index 85763c7f..83fa7d07 100644 --- a/Source/SPDatabaseRename.m +++ b/Source/SPDatabaseRename.m @@ -22,7 +22,6 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" #import "SPDatabaseRename.h" #import "SPTableCopy.h" #import "SPViewCopy.h" diff --git a/Source/SPTableCopy.h b/Source/SPTableCopy.h index e32560aa..df6aaaa7 100644 --- a/Source/SPTableCopy.h +++ b/Source/SPTableCopy.h @@ -22,12 +22,12 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" +#import "SPDatabaseAction.h" /** * The SPTableCopy class povides functionality to copy tables between databases. */ -@interface SPTableCopy : SPDBActionCommons +@interface SPTableCopy : SPDatabaseAction /** * This method copies a table structure from one db to another. diff --git a/Source/SPTableCopy.m b/Source/SPTableCopy.m index e629e481..60869b9b 100644 --- a/Source/SPTableCopy.m +++ b/Source/SPTableCopy.m @@ -22,7 +22,6 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" #import "SPTableCopy.h" #import <SPMySQL/SPMySQL.h> diff --git a/Source/SPViewCopy.h b/Source/SPViewCopy.h index 6f1be956..add4af77 100644 --- a/Source/SPViewCopy.h +++ b/Source/SPViewCopy.h @@ -30,7 +30,9 @@ // // More info at <http://code.google.com/p/sequel-pro/> -@interface SPViewCopy : SPDBActionCommons +#import "SPDatabaseAction.h" + +@interface SPViewCopy : SPDatabaseAction - (BOOL)moveView:(NSString *)view from:(NSString *)sourceDatabase to:(NSString *)targetDatabase; diff --git a/Source/SPViewCopy.m b/Source/SPViewCopy.m index b7fde195..b32a08e4 100644 --- a/Source/SPViewCopy.m +++ b/Source/SPViewCopy.m @@ -30,7 +30,6 @@ // // More info at <http://code.google.com/p/sequel-pro/> -#import "SPDBActionCommons.h" #import "SPViewCopy.h" #import <SPMySQL/SPMySQL.h> |