Files
gitx/PBCLIProxy.h
T
Ciarán Walsh 4547d513d1 Amend the CLI tool to use the distributed objects system to try opening the current path when invoked.
When using the CLI tool (rather than a command using open(1)) it is now possible to open multiple repositores via the command-line.
2008-08-18 18:27:57 +01:00

24 lines
485 B
Objective-C

//
// PBCLIProxy.h
// GitX
//
// Created by Ciarán Walsh on 15/08/2008.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface PBCLIProxy : NSObject
{
NSConnection *connection;
}
@property (retain) NSConnection* connection;
@end
#define ConnectionName @"GitX DO Connection"
#define PBCLIProxyErrorDomain @"PBCLIProxyErrorDomain"
@protocol GitXCliToolProtocol
- (BOOL)openRepository:(NSURL*)repositoryPath error:(NSError**)error;
@end