2 // PBDetailController.h
5 // Created by Pieter de Bie on 16-06-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
9 #import <Cocoa/Cocoa.h>
10 #import "PBGitRepository.h"
11 #import "PBGitCommit.h"
14 @interface PBDetailController
: NSWindowController
{
15 IBOutlet NSArrayController
* commitController
;
16 IBOutlet NSTreeController
* treeController
;
17 IBOutlet NSOutlineView
* fileBrowser
;
18 IBOutlet NSSearchField
* searchField
;
19 IBOutlet NSTableView
* commitList
;
23 PBGitRepository
* repository
;
25 PBGitCommit
* webCommit
;
26 PBGitCommit
* rawCommit
;
27 PBGitCommit
* realCommit
;
30 @
property (assign
) int selectedTab
;
31 @
property (retain
) PBGitRepository
* repository
;
32 @
property (retain
) PBGitCommit
* webCommit
;
33 @
property (retain
) PBGitCommit
* rawCommit
;
34 @
property (retain
) PBGitTree
* gitTree
;
36 - (id
)initWithRepository
:(PBGitRepository
*)theRepository
;
38 - (IBAction
) setDetailedView
: sender
;
39 - (IBAction
) setRawView
: sender
;
40 - (IBAction
) setTreeView
: sender
;
42 - (IBAction
) toggleQuickView
: sender
;
43 - (IBAction
) openSelectedFile
: sender
;
44 - (void) updateQuicklookForce
: (BOOL
) force
;