Add Application.Stop

Closes #6
This commit is contained in:
Sasha Koshka 2024-08-19 22:27:09 -04:00
parent 4fa29f2719
commit 35636e9ca3

View File

@ -18,6 +18,10 @@ type Application interface {
// Init performs the initial setup of the application. This behavior // Init performs the initial setup of the application. This behavior
// should return a window if it creates one. // should return a window if it creates one.
Init () (tomo.Window, error) Init () (tomo.Window, error)
// Stop stops the application and does not return until all ongoing
// operations have been completely shut down.
Stop ()
} }
// ApplicationURLOpener is an application that can open a URL. // ApplicationURLOpener is an application that can open a URL.