mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
e02ee5231c
That's why it's there, after all. This also makes the system more robust and catches some more errors. The next thing this enables is to also allow right-clicking on refs in the commit list.
30 lines
715 B
Objective-C
30 lines
715 B
Objective-C
//
|
|
// PBLabelController.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 21-10-08.
|
|
// Copyright 2008 Pieter de Bie. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitHistoryController.h"
|
|
#import "PBCommitList.h"
|
|
#import "PBGitRef.h"
|
|
#import "PBGitCommit.h"
|
|
|
|
@interface PBRefController : NSObject {
|
|
IBOutlet __weak PBGitHistoryController *historyController;
|
|
IBOutlet NSArrayController *commitController;
|
|
IBOutlet PBCommitList *commitList;
|
|
|
|
IBOutlet NSWindow *newBranchSheet;
|
|
IBOutlet NSTextField *newBranchName;
|
|
}
|
|
|
|
- (IBAction)addRef:(id)sender;
|
|
- (IBAction)closeSheet:(id) sender;
|
|
- (IBAction)saveSheet:(id) sender;
|
|
|
|
- (NSArray *) menuItemsForRef:(PBGitRef *)ref commit:(PBGitCommit *)commit;
|
|
@end
|