-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First pass at port API needed for port UI (#85117)
Part of microsoft/vscode-remote-release#1777 and #81388
- Loading branch information
Showing
6 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
import { ExtHostTunnelServiceShape } from 'vs/workbench/api/common/extHost.protocol'; | ||
import * as vscode from 'vscode'; | ||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; | ||
|
||
export interface IExtHostTunnelService extends ExtHostTunnelServiceShape { | ||
makeTunnel(forward: vscode.TunnelOptions): Promise<vscode.Tunnel>; | ||
} | ||
|
||
export const IExtHostTunnelService = createDecorator<IExtHostTunnelService>('IExtHostTunnelService'); | ||
|
||
export class ExtHostTunnelService implements IExtHostTunnelService { | ||
makeTunnel(forward: vscode.TunnelOptions): Promise<vscode.Tunnel> { | ||
throw new Error('Method not implemented.'); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters