-
Notifications
You must be signed in to change notification settings - Fork 602
/
PBGitWindowController.h
37 lines (29 loc) · 1.01 KB
/
PBGitWindowController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// 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"
@class PBViewController;
@interface PBGitWindowController : NSWindowController {
__weak PBGitRepository* repository;
int selectedViewIndex;
IBOutlet NSView* contentView;
PBViewController *historyViewController;
PBViewController *commitViewController;
PBViewController* viewController;
}
@property (assign) __weak PBGitRepository *repository;
@property (readonly) NSViewController *viewController;
@property (assign) int selectedViewIndex;
- (id)initWithRepository:(PBGitRepository*)theRepository displayDefault:(BOOL)display;
- (void)changeViewController:(NSInteger)whichViewTag;
- (void)useToolbar:(NSToolbar *)toolbar;
- (void)showMessageSheet:(NSString *)messageText infoText:(NSString *)infoText;
- (void)showErrorSheet:(NSError *)error;
- (IBAction) showCommitView:(id)sender;
- (IBAction) showHistoryView:(id)sender;
@end