Files
vue-desktop/src/core/process/IProcess.ts

21 lines
541 B
TypeScript
Raw Normal View History

2025-08-26 10:33:41 +08:00
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;
}