mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
8ddcc6c660
Specifying these helps to improve DO performance and it should also help with the NSURL passed byref thingy (see PBCLIProxy.m), although we don't really need that anymore because we changed the parameters to be NSString's which by default are passed bycopy. Specifying "oneway void" creates a fire-and-forget situation where the distant object will not wait for the value returned.
27 lines
638 B
Objective-C
27 lines
638 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>
|
|
#import "PBGitXErrors.h"
|
|
|
|
@interface PBCLIProxy : NSObject
|
|
{
|
|
NSConnection *connection;
|
|
}
|
|
@property (retain) NSConnection* connection;
|
|
@end
|
|
|
|
#define PBDOConnectionName @"GitXDOConnection"
|
|
#define PBCLIProxyErrorDomain @"PBCLIProxyErrorDomain"
|
|
|
|
@protocol GitXCliToolProtocol
|
|
|
|
- (BOOL) openRepository:(in bycopy NSString *)repositoryPath arguments:(in bycopy NSArray *) args error:(byref NSError**)error;
|
|
- (oneway void) openDiffWindowWithDiff:(in bycopy NSString *)diff;
|
|
|
|
@end |