Source

Murky / Source / HgOperation.h

Full commit
//
//  HgOperation.h
//  Murky
//
//  Copyright 2008-2009 Jens Alfke. All rights reserved.
//

#import "MYTask.h"
@class HgDir;


/** An MYTask specialized for running the 'hg' command. */
@interface HgOperation : MYTask 
{
    NSString *_subcommand;
}

- (id) initWithDirectory: (id)dir                           // dir can be NSString, HgFile, HgRepository, HgRevision
                 command: (NSString*)subcommand, ... NS_REQUIRES_NIL_TERMINATION;

- (id) initWithDirectory: (id)dir
                 command: (NSString*)subcommand
               arguments: (NSArray*)arguments;

@end