21 lines
541 B
TypeScript
21 lines
541 B
TypeScript
|
|
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;
|
||
|
|
}
|