MCPcopy Create free account
hub / github.com/ZToolsCenter/ZTools / init

Method init

src/main/api/plugin/input.ts:20–29  ·  view source on GitHub ↗
(
    pluginManager: PluginManager,
    windowManager: typeof WindowManagerInstance,
    clipboardManager: typeof ClipboardManager
  )

Source from the content-addressed store, hash-verified

18 private foundInPageListeners = new WeakSet<Electron.WebContents>()
19
20 public init(
21 pluginManager: PluginManager,
22 windowManager: typeof WindowManagerInstance,
23 clipboardManager: typeof ClipboardManager
24 ): void {
25 this.pluginManager = pluginManager
26 this.windowManager = windowManager
27 this.clipboardManager = clipboardManager
28 this.setupIPC()
29 }
30
31 private setupIPC(): void {
32 // 发送输入事件到插件

Callers

nothing calls this directly

Calls 1

setupIPCMethod · 0.95

Tested by

no test coverage detected