Some checks failed
CodeQL Advanced / Analyze (go) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
CodeQL Advanced / Analyze (rust) (push) Has been cancelled
48 lines
1.5 KiB
TypeScript
48 lines
1.5 KiB
TypeScript
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
/**
|
|
* WindowService 窗口管理服务
|
|
* @module
|
|
*/
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore: Unused imports
|
|
import {Call as $Call, Create as $Create} from "@wailsio/runtime";
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore: Unused imports
|
|
import * as application$0 from "../../../github.com/wailsapp/wails/v3/pkg/application/models.js";
|
|
|
|
/**
|
|
* IsDocumentWindowOpen 检查指定文档的窗口是否已打开
|
|
*/
|
|
export function IsDocumentWindowOpen(documentID: number): Promise<boolean> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(1735611839, documentID) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* OpenDocumentWindow 为指定文档ID打开新窗口
|
|
*/
|
|
export function OpenDocumentWindow(documentID: number): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(494716471, documentID) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* ServiceShutdown 实现服务关闭接口
|
|
*/
|
|
export function ServiceShutdown(): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(202192783) as any;
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* ServiceStartup 服务启动时初始化
|
|
*/
|
|
export function ServiceStartup(options: application$0.ServiceOptions): Promise<void> & { cancel(): void } {
|
|
let $resultPromise = $Call.ByID(2432987694, options) as any;
|
|
return $resultPromise;
|
|
}
|