pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
556 stars 28 forks source link

Home action #39

Closed pgaskin closed 4 years ago

pgaskin commented 4 years ago

https://github.com/geek1011/NickelMenu/issues/26#issuecomment-641332035

pgaskin commented 4 years ago

Note: MainWindowController::sharedInstance, MainWindowController::clear.

pgaskin commented 4 years ago

StatusBarController::home (it's a static function) is probably a better option then doing the home logic manually with MainWindowController.

Note that in nickel itself, this is called by a subclass through the vtable due to it being virtual, but dlsym will still work fine on it directly (it doesn't need the PLT).