Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (30 sloc) 0.95 kB
4cefe8e @pieter HistoryView: Allow dragging of refs to move them
authored
1 //
2 // PBLabelController.h
3 // GitX
4 //
5 // Created by Pieter de Bie on 21-10-08.
6 // Copyright 2008 Pieter de Bie. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10 #import "PBGitHistoryController.h"
11 #import "PBCommitList.h"
e02ee52 @pieter WebHistoryController: Move ref deletion to RefController
authored
12 #import "PBGitRef.h"
13 #import "PBGitCommit.h"
a9dad9d @pieter GitRevisionCell: Allow right-clicking on refs
authored
14 #import "PBRefContextDelegate.h"
4cefe8e @pieter HistoryView: Allow dragging of refs to move them
authored
15
a9dad9d @pieter GitRevisionCell: Allow right-clicking on refs
authored
16 @interface PBRefController : NSObject <PBRefContextDelegate> {
4cefe8e @pieter HistoryView: Allow dragging of refs to move them
authored
17 IBOutlet __weak PBGitHistoryController *historyController;
18 IBOutlet NSArrayController *commitController;
19 IBOutlet PBCommitList *commitList;
23c9186 @pieter HistoryView: Allow creation of branches
authored
20
21 IBOutlet NSWindow *newBranchSheet;
22 IBOutlet NSTextField *newBranchName;
353d105 @charlesorourke Tickets #151 and #155: check for illegal branch names before creating.
charlesorourke authored
23 IBOutlet NSTextField *errorMessage;
92437c6 @pieter WIP: Use a nicer branches menu
authored
24
25 IBOutlet NSPopUpButton *branchPopUp;
4cefe8e @pieter HistoryView: Allow dragging of refs to move them
authored
26 }
27
e02ee52 @pieter WebHistoryController: Move ref deletion to RefController
authored
28 - (IBAction)addRef:(id)sender;
23c9186 @pieter HistoryView: Allow creation of branches
authored
29 - (IBAction)closeSheet:(id) sender;
30 - (IBAction)saveSheet:(id) sender;
31
e02ee52 @pieter WebHistoryController: Move ref deletion to RefController
authored
32 - (NSArray *) menuItemsForRef:(PBGitRef *)ref commit:(PBGitCommit *)commit;
b2c03bc @pieter HistoryView: Correctly update branches when changing them
authored
33
34 - (void) changeBranch:(NSMenuItem *)sender;
35 - (void) selectCurrentBranch;
36 - (void) updateBranchMenu;
37
4cefe8e @pieter HistoryView: Allow dragging of refs to move them
authored
38 @end
Something went wrong with that request. Please try again.