forked from laullon/gitx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PBCreateBranchSheet.h
41 lines (26 loc) · 895 Bytes
/
PBCreateBranchSheet.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
38
39
40
41
//
// PBCreateBranchSheet.h
// GitX
//
// Created by Nathan Kinsinger on 12/13/09.
// Copyright 2009 Nathan Kinsinger. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PBGitRefish.h"
@class PBGitRepository;
@interface PBCreateBranchSheet : NSWindowController {
PBGitRepository *repository;
id <PBGitRefish> startRefish;
BOOL shouldCheckoutBranch;
NSTextField *branchNameField;
NSTextField *errorMessageField;
}
+ (void) beginCreateBranchSheetAtRefish:(id <PBGitRefish>)ref inRepository:(PBGitRepository *)repo;
- (IBAction) createBranch:(id)sender;
- (IBAction) closeCreateBranchSheet:(id)sender;
@property (retain) PBGitRepository *repository;
@property (retain) id <PBGitRefish> startRefish;
@property (assign) BOOL shouldCheckoutBranch;
@property (assign) IBOutlet NSTextField *branchNameField;
@property (assign) IBOutlet NSTextField *errorMessageField;
@end