Files
gitx/Controller/PBGitResetController.h
2011-03-17 11:45:41 -07:00

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