wip: extHostSCM, mainThreadSCM

This commit is contained in:
Joao Moreno
2016-11-22 12:15:13 +01:00
parent f4ae41f9b3
commit 1af44d673f
5 changed files with 85 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import { IThreadService } from 'vs/workbench/services/thread/common/threadService';
import { MainThreadSCMShape } from './extHost.protocol';
export class MainThreadSCM extends MainThreadSCMShape {
private _toDispose: IDisposable;
constructor(
@IThreadService threadService: IThreadService
) {
super();
// const proxy = threadService.get(ExtHostContext.ExtHostSCM);
}
dispose(): void {
this._toDispose = dispose(this._toDispose);
}
}