proxy some SCMProvider features

This commit is contained in:
Joao Moreno
2016-11-30 10:39:19 +01:00
parent 2a13d010f3
commit 867f12a69c
3 changed files with 44 additions and 17 deletions

View File

@@ -228,8 +228,15 @@ export abstract class MainProcessExtensionServiceShape {
$onExtensionActivationFailed(extensionId: string): void { throw ni(); }
}
export interface SCMProviderFeatures {
commitCommand?: string;
clickCommand?: string;
dragCommand?: string;
supportsOriginalResource: boolean;
}
export abstract class MainThreadSCMShape {
$register(id: string, registerOriginalResourceProvider: boolean): void { throw ni(); }
$register(id: string, features: SCMProviderFeatures): void { throw ni(); }
$unregister(id: string): void { throw ni(); }
}