diff options
author | dmoagx <post@wickenrode.com> | 2013-04-26 19:36:11 +0000 |
---|---|---|
committer | dmoagx <post@wickenrode.com> | 2013-04-26 19:36:11 +0000 |
commit | 5fb9abea86ca61155609642889975fea04bb72f1 (patch) | |
tree | 5614a0370237f8206160736ba0b3472f10c00506 /Source/SPDatabaseDocument.h | |
parent | 0d1d1108d3d7a4b191e5773357038c4354387ffb (diff) | |
download | sequelpro-5fb9abea86ca61155609642889975fea04bb72f1.tar.gz sequelpro-5fb9abea86ca61155609642889975fea04bb72f1.tar.bz2 sequelpro-5fb9abea86ca61155609642889975fea04bb72f1.zip |
* Move some duplicate code for charset/collation to it's own class
Diffstat (limited to 'Source/SPDatabaseDocument.h')
-rw-r--r-- | Source/SPDatabaseDocument.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h index 5cee9759..d0a58dbb 100644 --- a/Source/SPDatabaseDocument.h +++ b/Source/SPDatabaseDocument.h @@ -56,6 +56,7 @@ @class SPCustomQuery; @class SPDatabaseStructure; @class SPMySQLConnection; +@class SPCharsetCollationHelper; #import "SPDatabaseContentViewDelegate.h" #import "SPConnectionControllerDelegateProtocol.h" @@ -115,6 +116,8 @@ IBOutlet id databaseAlterSheet; IBOutlet NSPopUpButton *databaseAlterEncodingButton; IBOutlet NSPopUpButton *databaseAlterCollationButton; + + SPCharsetCollationHelper *alterDatabaseCharsetHelper; IBOutlet NSProgressIndicator* queryProgressBar; #ifndef SP_CODA @@ -130,6 +133,8 @@ IBOutlet id databaseEncodingButton; IBOutlet id databaseCollationButton; IBOutlet id addDatabaseButton; + + SPCharsetCollationHelper *addDatabaseCharsetHelper; #ifndef SP_CODA IBOutlet id databaseCopyNameField; @@ -332,8 +337,6 @@ - (void)selectDatabase:(NSString *)aDatabase item:(NSString *)anItem; - (IBAction)addDatabase:(id)sender; - (IBAction)alterDatabase:(id)sender; -- (IBAction)alterDatabaseEncodingButtonChanged:(id)sender; -- (IBAction)databaseEncodingButtonChanged:(id)sender; - (IBAction)removeDatabase:(id)sender; - (IBAction)refreshTables:(id)sender; #ifndef SP_CODA /* method decls */ |