2025-08-26 10:33:41 +08:00
|
|
|
import type { IProcessInfo } from '@/core/process/IProcessInfo.ts'
|
2025-08-28 08:05:16 +08:00
|
|
|
import type { IWindowForm } from '@/core/window/IWindowForm.ts'
|
2025-08-26 10:33:41 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 进程接口
|
|
|
|
|
*/
|
|
|
|
|
export interface IProcess {
|
|
|
|
|
/** 进程id */
|
|
|
|
|
get id(): string;
|
|
|
|
|
/** 进程信息 */
|
|
|
|
|
get processInfo(): IProcessInfo;
|
|
|
|
|
/** 进程的窗体列表 */
|
2025-08-28 08:05:16 +08:00
|
|
|
get windowForms(): Map<string, IWindowForm>;
|
2025-08-26 10:33:41 +08:00
|
|
|
/**
|
|
|
|
|
* 打开窗体
|
|
|
|
|
* @param startName 窗体启动名
|
|
|
|
|
*/
|
|
|
|
|
openWindowForm(startName: string): void;
|
|
|
|
|
}
|