mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
7f337cda2a
This kept going broken, so now instead of Interface Builder bindings, we create the binding ourselves
32 lines
860 B
Objective-C
32 lines
860 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;
|
|
PBGitRepository* repository;
|
|
int selectedViewIndex;
|
|
IBOutlet NSView* contentView;
|
|
NSViewController* viewController;
|
|
}
|
|
|
|
@property (retain) PBGitRepository *repository;
|
|
@property (readonly) NSViewController *viewController;
|
|
@property (assign) int selectedViewIndex;
|
|
@property (retain) NSArrayController *searchController;
|
|
|
|
- (id)initWithRepository:(PBGitRepository*)theRepository;
|
|
|
|
- (void)changeViewController:(NSInteger)whichViewTag;
|
|
- (void) focusOnSearchField;
|
|
@end
|