mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
446dd540da
The clone icon is by André Berg (in 4396081c07)
50 lines
1.4 KiB
Objective-C
50 lines
1.4 KiB
Objective-C
//
|
|
// PBDetailController.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 16-06-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitRepository.h"
|
|
|
|
@class PBViewController, PBGitSidebarController;
|
|
|
|
@interface PBGitWindowController : NSWindowController {
|
|
__weak PBGitRepository* repository;
|
|
|
|
PBViewController *contentController;
|
|
|
|
PBGitSidebarController *sidebarController;
|
|
IBOutlet NSView *sourceListControlsView;
|
|
IBOutlet NSSplitView *splitView;
|
|
IBOutlet NSView *sourceSplitView;
|
|
IBOutlet NSView *contentSplitView;
|
|
|
|
IBOutlet NSTextField *statusField;
|
|
IBOutlet NSProgressIndicator *progressIndicator;
|
|
|
|
PBViewController* viewController;
|
|
|
|
IBOutlet NSToolbarItem *terminalItem;
|
|
IBOutlet NSToolbarItem *finderItem;
|
|
}
|
|
|
|
@property (assign) __weak PBGitRepository *repository;
|
|
|
|
- (id)initWithRepository:(PBGitRepository*)theRepository displayDefault:(BOOL)display;
|
|
|
|
- (void)changeContentController:(PBViewController *)controller;
|
|
|
|
- (void)showMessageSheet:(NSString *)messageText infoText:(NSString *)infoText;
|
|
- (void)showErrorSheet:(NSError *)error;
|
|
- (void)showErrorSheetTitle:(NSString *)title message:(NSString *)message arguments:(NSArray *)arguments output:(NSString *)output;
|
|
|
|
- (IBAction) showCommitView:(id)sender;
|
|
- (IBAction) showHistoryView:(id)sender;
|
|
- (IBAction) revealInFinder:(id)sender;
|
|
- (IBAction) openInTerminal:(id)sender;
|
|
- (IBAction) cloneTo:(id)sender;
|
|
@end
|