mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
27 lines
518 B
Objective-C
27 lines
518 B
Objective-C
//
|
|
// PBGitResetController.h
|
|
// GitX
|
|
//
|
|
// Created by Tomasz Krasnyk on 10-11-27.
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBResetSheet.h"
|
|
|
|
@class PBGitRepository;
|
|
@protocol PBGitRefish;
|
|
|
|
@interface PBGitResetController : NSObject {
|
|
PBGitRepository *repository;
|
|
}
|
|
- (id) initWithRepository:(PBGitRepository *) repo;
|
|
|
|
- (NSArray *) menuItems;
|
|
|
|
// actions
|
|
- (void) resetToRefish: (id<PBGitRefish>) spec type: (PBResetType) type;
|
|
- (void) resetHardToHead;
|
|
|
|
@end
|