mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
35 lines
985 B
Objective-C
35 lines
985 B
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"
|
|
|
|
@interface PBGitWindowController : NSWindowController {
|
|
IBOutlet NSSearchField* searchField;
|
|
IBOutlet NSArrayController* searchController;
|
|
IBOutlet NSArrayController *branchesController;
|
|
__weak PBGitRepository* repository;
|
|
int selectedViewIndex;
|
|
IBOutlet NSView* contentView;
|
|
NSViewController* viewController;
|
|
}
|
|
|
|
@property (assign) __weak PBGitRepository *repository;
|
|
@property (readonly) NSViewController *viewController;
|
|
@property (assign) int selectedViewIndex;
|
|
@property (retain) NSArrayController *searchController;
|
|
|
|
- (id)initWithRepository:(PBGitRepository*)theRepository displayDefault:(BOOL)display;
|
|
|
|
- (void)changeViewController:(NSInteger)whichViewTag;
|
|
- (void) focusOnSearchField;
|
|
|
|
- (IBAction) showCommitView:(id)sender;
|
|
- (IBAction) showHistoryView:(id)sender;
|
|
@end
|