保存一下
This commit is contained in:
20
src/core/process/IProcess.ts
Normal file
20
src/core/process/IProcess.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { ProcessInfoImpl } from '@/core/process/impl/ProcessInfoImpl.ts'
|
||||
import type WindowForm from '@/core/window/WindowForm.ts'
|
||||
import type { IProcessInfo } from '@/core/process/IProcessInfo.ts'
|
||||
|
||||
/**
|
||||
* 进程接口
|
||||
*/
|
||||
export interface IProcess {
|
||||
/** 进程id */
|
||||
get id(): string;
|
||||
/** 进程信息 */
|
||||
get processInfo(): IProcessInfo;
|
||||
/** 进程的窗体列表 */
|
||||
get windowForms(): Map<string, WindowForm>;
|
||||
/**
|
||||
* 打开窗体
|
||||
* @param startName 窗体启动名
|
||||
*/
|
||||
openWindowForm(startName: string): void;
|
||||
}
|
||||
Reference in New Issue
Block a user