5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 15:19:12 +08:00
wails/lib/interfaces/ipcmanager.go
Lea Anthony 6c5d5e40f4
262 add wails shutdown method (#264)
* feat: support close in bridge mode

* feat: WailsShutdown callback

Now handles proper shutdown through:
  * runtime.Window.Close()
  * Killing the main window
  * Ctrl-C
2019-10-23 14:04:41 +11:00

10 lines
222 B
Go

package interfaces
// IPCManager is the event manager interface
type IPCManager interface {
BindRenderer(Renderer)
Dispatch(message string)
Start(eventManager EventManager, bindingManager BindingManager)
Shutdown()
}