/* * Copyright 2023 jacqueline * * SPDX-License-Identifier: GPL-3.0-only */ #pragma once #include #include #include #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/timers.h" #include "display.hpp" #include "lvgl_input_driver.hpp" #include "screen.hpp" #include "themes.hpp" #include "touchwheel.hpp" namespace ui { class UiTask { public: static auto Start() -> UiTask*; ~UiTask(); auto input(std::shared_ptr input) -> void; private: UiTask(); auto Main() -> void; std::shared_ptr input_; std::shared_ptr current_screen_; }; } // namespace ui