aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPHistoryController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-08-01 19:48:30 +0000
committerrowanbeentje <rowan@beent.je>2009-08-01 19:48:30 +0000
commit8b672753ae94f76308557375ea13f373143d78cd (patch)
treed5b59470f6570fbfd907a9ff214a0e0367578681 /Source/SPHistoryController.h
parent61c1ffe21ce73752bc195e0312a6a851808601e6 (diff)
downloadsequelpro-8b672753ae94f76308557375ea13f373143d78cd.tar.gz
sequelpro-8b672753ae94f76308557375ea13f373143d78cd.tar.bz2
sequelpro-8b672753ae94f76308557375ea13f373143d78cd.zip
- Fix an errant NSLog in TableSource
- Improve and make consistent state saving in TableContent; now saves filters and scroll position mor reliably on refresh/edit, and supports remembering and restoring which rows were selected - Significantly improve table history - only create entries for tables switches or filters, only remember 50 items, and save view/filters/scroll position/selections in table content view
Diffstat (limited to 'Source/SPHistoryController.h')
-rw-r--r--Source/SPHistoryController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPHistoryController.h b/Source/SPHistoryController.h
index 110ebea3..3e3c5452 100644
--- a/Source/SPHistoryController.h
+++ b/Source/SPHistoryController.h
@@ -24,7 +24,7 @@
#import <Cocoa/Cocoa.h>
-@class TableDocument;
+@class TableDocument, TableContent;
enum sphistory_view_types
{
@@ -39,6 +39,7 @@ enum sphistory_view_types
IBOutlet TableDocument *theDocument;
IBOutlet NSSegmentedControl *historyControl;
+ TableContent *tableContentInstance;
NSMutableArray *history;
unsigned int historyPosition;
BOOL restoringHistoryState;