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

23 lines
657 B
TypeScript
Raw Normal View History

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-09-09 12:03:09 +08:00
import type { IEventBuilder } from '@/core/events/IEventBuilder.ts'
import type { IProcessEvent } from '@/core/process/types/ProcessEvent.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-09-09 12:03:09 +08:00
get event(): IEventBuilder<IProcessEvent>;
2025-08-26 10:33:41 +08:00
/**
*
* @param startName
*/
openWindowForm(startName: string): void;
}