|
14 | 14 | @class PBGitHistoryController;
|
15 | 15 | @class PBGitCommitController;
|
16 | 16 |
|
17 |
| -@interface PBGitSidebarController : PBViewController<NSOutlineViewDelegate> { |
18 |
| - __weak IBOutlet NSWindow *window; |
19 |
| - __weak IBOutlet NSOutlineView *sourceView; |
20 |
| - __weak IBOutlet NSView *sourceListControlsView; |
21 |
| - __weak IBOutlet NSPopUpButton *actionButton; |
22 |
| - __weak IBOutlet NSSegmentedControl *remoteControls; |
| 17 | +NS_ASSUME_NONNULL_BEGIN |
23 | 18 |
|
24 |
| - NSMutableArray *items; |
| 19 | +@interface PBGitSidebarController : PBViewController |
25 | 20 |
|
26 |
| - /* Specific things */ |
27 |
| - PBSourceViewItem *stage; |
| 21 | +- (void)selectStage; |
| 22 | +- (void)selectCurrentBranch; |
28 | 23 |
|
29 |
| - PBSourceViewItem *branches, *remotes, *tags, *others, *submodules, *stashes; |
30 |
| -} |
| 24 | +- (NSMenu *)menuForRow:(NSInteger)row; |
| 25 | +- (void)menuNeedsUpdate:(NSMenu *)menu; |
31 | 26 |
|
32 |
| -- (void) selectStage; |
33 |
| -- (void) selectCurrentBranch; |
| 27 | +- (IBAction)fetchPullPushAction:(id)sender; |
34 | 28 |
|
35 |
| -- (NSMenu *) menuForRow:(NSInteger)row; |
36 |
| -- (void) menuNeedsUpdate:(NSMenu *)menu; |
37 |
| - |
38 |
| -- (IBAction) fetchPullPushAction:(id)sender; |
39 |
| - |
40 |
| -@property(readonly) NSMutableArray *items; |
41 |
| -@property(readonly) PBSourceViewItem *remotes; |
42 |
| -@property(readonly) NSOutlineView *sourceView; |
43 |
| -@property(readonly) NSView *sourceListControlsView; |
| 29 | +@property (readonly) NSMutableArray *items; |
| 30 | +@property (readonly) PBSourceViewItem *remotes; |
| 31 | +@property (readonly) NSOutlineView *sourceView; |
| 32 | +@property (readonly) NSView *sourceListControlsView; |
44 | 33 |
|
45 | 34 | @end
|
| 35 | + |
| 36 | +NS_ASSUME_NONNULL_END |
0 commit comments