From 4a02b3a057fe623112f36cfbbb90eaef43c12be5 Mon Sep 17 00:00:00 2001 From: Filip Vincze <vincze.filip@gmail.com> Date: Thu, 7 Nov 2024 17:36:19 +0100 Subject: [PATCH] remove redundant ButtonHandler from maker module --- src/module.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/module.cpp b/src/module.cpp index 0b9b5d0..d1cb206 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -2,7 +2,6 @@ #include <maker/updater.hpp> #include <maker/presenter.hpp> #include <maker/index.hpp> -#include <maker/handlers/button_handler.hpp> #include <com/frame.hpp> namespace mak { @@ -12,8 +11,7 @@ void boot(com::Folder* const ctx_root) com::Folder* const root_mak = ctx_root->push_back<com::Folder>("maker"); root_mak->push_back<com::Folder>("camera")->push_back<com::Frame>(); root_mak->push_back<com::Folder>("grid")->push_back<com::Frame>(); - root_mak->push_back<ButtonHandler>(); - root_mak->push_back<Updater>(); + root_mak->push_back<Updater>(); root_mak->push_back<Presenter>(); mak::index(); } @@ -23,7 +21,6 @@ void shutdown(com::Folder* const ctx_root) com::Folder* const root_mak = ctx_root->find<com::Folder>("maker"); root_mak->erase(root_mak->find<Presenter>(Presenter::self_name())); root_mak->erase(root_mak->find<Updater>(Updater::self_name())); - root_mak->erase(root_mak->find<ButtonHandler>(ButtonHandler::self_name())); root_mak->erase(root_mak->find<com::Folder>("grid")); root_mak->erase(root_mak->find<com::Folder>("camera")); ctx_root->erase(root_mak); -- GitLab