#pragma once #include "interfaces/status_manager.hpp" #include #include #include #include #include #include #include "interfaces/statusline.hpp" class StatusManager : public IStatusManager, public yacppdic::AutoWirable { public: void bind(const std::shared_ptr &statusline) noexcept override; void set_section_title( const StatusLineSection §ion, const std::string_view &title) override; void set_section_body( const StatusLineSection §ion, const std::string_view &body) noexcept override; private: std::shared_ptr _statusline; std::unordered_map _section_title_lengths; };