diff --git a/shared/ipc-command.class.ts b/shared/ipc-command.class.ts new file mode 100644 index 000000000..eec9433dc --- /dev/null +++ b/shared/ipc-command.class.ts @@ -0,0 +1,6 @@ +export class IpcCommand { + constructor(public id: string, public callback: () => void) { + this.id = id; + this.callback = callback; + } +}