Files
gitx/PBDetailController.h
T
Pieter de Bie 8c076bb8ad Fix the 'parent' link in commits
This allows you to click on the parent link to select a parent. Also fixes
an issue that the NSTableView would not scroll to the correct commit.
2008-09-12 11:54:39 +02:00

49 lines
1.2 KiB
Objective-C

//
// PBDetailController.h
// GitX
//
// Created by Pieter de Bie on 16-06-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PBGitRepository.h"
#import "PBGitCommit.h"
#import "PBGitTree.h"
@interface PBDetailController : NSWindowController {
IBOutlet NSArrayController* commitController;
IBOutlet NSTreeController* treeController;
IBOutlet NSOutlineView* fileBrowser;
IBOutlet NSSearchField* searchField;
IBOutlet NSTableView* commitList;
int selectedTab;
PBGitRepository* repository;
PBGitTree* gitTree;
PBGitCommit* webCommit;
PBGitCommit* rawCommit;
PBGitCommit* realCommit;
}
@property (assign) int selectedTab;
@property (retain) PBGitRepository* repository;
@property (retain) PBGitCommit* webCommit;
@property (retain) PBGitCommit* rawCommit;
@property (retain) PBGitTree* gitTree;
- (id)initWithRepository:(PBGitRepository*)theRepository;
- (IBAction) setDetailedView: sender;
- (IBAction) setRawView: sender;
- (IBAction) setTreeView: sender;
- (void) selectCommit: (NSString*) commit;
- (IBAction) refresh: sender;
- (IBAction) toggleQuickView: sender;
- (IBAction) openSelectedFile: sender;
- (void) updateQuicklookForce: (BOOL) force;
@end