mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
SQL Operations Studio Public Preview 1 (0.23) release source code
This commit is contained in:
23
src/vs/workbench/services/title/common/titleService.ts
Normal file
23
src/vs/workbench/services/title/common/titleService.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
|
||||
export const ITitleService = createDecorator<ITitleService>('titleService');
|
||||
|
||||
export interface ITitleService {
|
||||
_serviceBrand: any;
|
||||
|
||||
/**
|
||||
* Set the window title with the given value.
|
||||
*/
|
||||
setTitle(title: string): void;
|
||||
|
||||
/**
|
||||
* Set the represented file name to the title if any.
|
||||
*/
|
||||
setRepresentedFilename(path: string): void;
|
||||
}
|
||||
Reference in New Issue
Block a user