Add ClipboardData to Controller, housekeeping

This commit is contained in:
scawful
2023-07-31 21:26:18 -04:00
parent 2bf6c5c773
commit bc4a90fc76
5 changed files with 37 additions and 24 deletions

View File

@@ -14,18 +14,18 @@ int main(int argc, char** argv) {
yaze::app::core::Controller controller;
auto entry_status = controller.onEntry();
auto entry_status = controller.OnEntry();
if (!entry_status.ok()) {
// TODO(@scawful): log the specific error
return EXIT_FAILURE;
}
while (controller.isActive()) {
controller.onInput();
controller.onLoad();
controller.doRender();
while (controller.IsActive()) {
controller.OnInput();
controller.OnLoad();
controller.DoRender();
}
controller.onExit();
controller.OnExit();
return EXIT_SUCCESS;
}