HistoryView: Add "SHA" Column and make it hidden by default
[GitX.git] / PBGitWindowController.h
blobae2298b857a0efe52b7c0f18569c27e45aecc736
1 //
2 // PBDetailController.h
3 // GitX
4 //
5 // Created by Pieter de Bie on 16-06-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import "PBGitRepository.h"
12 @class PBViewController;
13 @interface PBGitWindowController : NSWindowController {
14 __weak PBGitRepository* repository;
15 int selectedViewIndex;
16 IBOutlet NSView* contentView;
18 PBViewController *historyViewController;
19 PBViewController *commitViewController;
21 PBViewController* viewController;
24 @property (assign) __weak PBGitRepository *repository;
25 @property (readonly) NSViewController *viewController;
26 @property (assign) int selectedViewIndex;
28 - (id)initWithRepository:(PBGitRepository*)theRepository displayDefault:(BOOL)display;
30 - (void)changeViewController:(NSInteger)whichViewTag;
31 - (void)useToolbar:(NSToolbar *)toolbar;
32 - (void)showMessageSheet:(NSString *)messageText infoText:(NSString *)infoText;
33 - (void)showErrorSheet:(NSError *)error;
35 - (IBAction) showCommitView:(id)sender;
36 - (IBAction) showHistoryView:(id)sender;
37 @end