aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-08-31 01:23:29 +0000
committerrowanbeentje <rowan@beent.je>2011-08-31 01:23:29 +0000
commitdebc98eb182d845e4ab803c1cd1d84908da745d3 (patch)
tree178b95a43aceb14c427fb49a7e185115eaab6b39 /Source/SPDatabaseDocument.h
parenta15f9f07c618351d61cc1991edf8c8b892e7d13e (diff)
downloadsequelpro-debc98eb182d845e4ab803c1cd1d84908da745d3.tar.gz
sequelpro-debc98eb182d845e4ab803c1cd1d84908da745d3.tar.bz2
sequelpro-debc98eb182d845e4ab803c1cd1d84908da745d3.zip
- Clean up undo manager handling
- Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
Diffstat (limited to 'Source/SPDatabaseDocument.h')
-rw-r--r--Source/SPDatabaseDocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h
index 31c3d636..a0d02bb6 100644
--- a/Source/SPDatabaseDocument.h
+++ b/Source/SPDatabaseDocument.h
@@ -170,6 +170,7 @@ SPDatabaseData, SPTablesList, SPTableStructure, SPTableContent, SPTableData, SPS
#ifndef SP_REFACTOR /* ivars */
NSUserDefaults *prefs;
NSMutableArray *nibObjectsToRelease;
+ NSUndoManager *undoManager;
#endif
NSMenu *selectEncodingMenu;
@@ -378,6 +379,7 @@ SPDatabaseData, SPTablesList, SPTableStructure, SPTableContent, SPTableData, SPS
- (NSURL *)fileURL;
- (NSString *)displayName;
#ifndef SP_REFACTOR /* method decls */
+- (NSUndoManager *)undoManager;
// Notification center methods
- (void)willPerformQuery:(NSNotification *)notification;