diff options
Diffstat (limited to 'Source/SPHistoryController.h')
-rw-r--r-- | Source/SPHistoryController.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/SPHistoryController.h b/Source/SPHistoryController.h index 5829dce7..58f66352 100644 --- a/Source/SPHistoryController.h +++ b/Source/SPHistoryController.h @@ -35,20 +35,25 @@ enum sphistory_view_types SP_VIEW_RELATIONS = 4 }; -@interface SPHistoryController : NSObject { +@interface SPHistoryController : NSObject +{ IBOutlet TableDocument *theDocument; IBOutlet NSSegmentedControl *historyControl; TableContent *tableContentInstance; NSMutableArray *history; - unsigned int historyPosition; + NSUInteger historyPosition; BOOL modifyingHistoryState; } +@property (readonly) NSUInteger historyPosition; +@property (readonly) NSMutableArray *history; @property (readwrite, assign) BOOL modifyingHistoryState; // Interface interaction - (void) updateToolbarItem; +- (void)goBackwardInHistory; +- (void)goForwardInHistory; - (IBAction) historyControlClicked:(NSSegmentedControl *)theControl; - (unsigned int) currentlySelectedView; |