GitIndex: add commit notifications
[GitX.git] / PBRefMenuItem.h
blob0e3f4558a0aabb99d1c09a38dd7291c798507a04
1 //
2 // PBRefMenuItem.h
3 // GitX
4 //
5 // Created by Pieter de Bie on 01-11-08.
6 // Copyright 2008 Pieter de Bie. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import "PBGitRef.h"
11 #import "PBGitCommit.h"
13 @interface PBRefMenuItem : NSMenuItem {
14 PBGitRef *ref;
15 PBGitCommit *commit;
18 @property (retain) PBGitCommit *commit;
19 @property (retain) PBGitRef *ref;
21 + (NSArray *)defaultMenuItemsForRef:(PBGitRef *)ref commit:(PBGitCommit *)commit target:(id)target;
23 @end