#pragma once #include "interfaces/statusline.hpp" #include #include #include // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IStatusManager { public: virtual ~IStatusManager() = default; virtual void set_section_title( const StatusLineSection §ion, const std::string_view &title ) noexcept = 0; virtual void set_section_body( const StatusLineSection §ion, const std::string_view &body ) noexcept = 0; }; using IStatusManagerFactory = yacppdic::Factory< std::unique_ptr(const std::shared_ptr &statusline)>;