aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDBActionCommons.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-04 14:36:30 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-04 14:36:30 +0000
commit5544489096885e4e4be1ab6e54160caaa44c03dc (patch)
tree52b2201bf491d1e3495d506e7c282b3509e33808 /Source/SPDBActionCommons.h
parent830790b9251a36f3d1290a3f9ead62195d61f00a (diff)
downloadsequelpro-5544489096885e4e4be1ab6e54160caaa44c03dc.tar.gz
sequelpro-5544489096885e4e4be1ab6e54160caaa44c03dc.tar.bz2
sequelpro-5544489096885e4e4be1ab6e54160caaa44c03dc.zip
Add initial support of moving views when renaming a database. Currently not hooked up yet. Part of issue #1235.
Diffstat (limited to 'Source/SPDBActionCommons.h')
-rw-r--r--Source/SPDBActionCommons.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/Source/SPDBActionCommons.h b/Source/SPDBActionCommons.h
index 7ae7ec79..5b467e1d 100644
--- a/Source/SPDBActionCommons.h
+++ b/Source/SPDBActionCommons.h
@@ -22,22 +22,30 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-@class SPMySQLConnection;
+#import <SPMySQL/SPMySQL.h>
+
+@class SPTablesList;
@interface SPDBActionCommons : NSObject
{
- SPMySQLConnection *connection;
NSWindow *messageWindow;
+ SPTablesList *tablesList;
+ SPMySQLConnection *connection;
}
/**
* @property connection References the SPMySQL.framework MySQL connection; it has to be set.
*/
-@property (retain) SPMySQLConnection *connection;
+@property (readwrite, assign) SPMySQLConnection *connection;
/**
* @property messageWindow The NSWindow instance to send message sheets to.
*/
-@property (assign) NSWindow *messageWindow;
+@property (readwrite, assign) NSWindow *messageWindow;
+
+/**
+ * @property tablesList
+ */
+@property (readwrite, assign) SPTablesList *tablesList;
@end