// // PBCreateBranchSheet.h // GitX // // Created by Nathan Kinsinger on 12/13/09. // Copyright 2009 Nathan Kinsinger. All rights reserved. // #import #import "PBGitRefish.h" @class PBGitRepository; @interface PBCreateBranchSheet : NSWindowController { PBGitRepository *repository; id startRefish; BOOL shouldCheckoutBranch; NSTextField *branchNameField; NSTextField *errorMessageField; } + (void) beginCreateBranchSheetAtRefish:(id )ref inRepository:(PBGitRepository *)repo; - (IBAction) createBranch:(id)sender; - (IBAction) closeCreateBranchSheet:(id)sender; @property (retain) PBGitRepository *repository; @property (retain) id startRefish; @property (assign) BOOL shouldCheckoutBranch; @property (assign) IBOutlet NSTextField *branchNameField; @property (assign) IBOutlet NSTextField *errorMessageField; @end