aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/status_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/status_manager.hpp')
-rw-r--r--src/interfaces/status_manager.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/status_manager.hpp b/src/interfaces/status_manager.hpp
index 18d6928..9c7234e 100644
--- a/src/interfaces/status_manager.hpp
+++ b/src/interfaces/status_manager.hpp
@@ -22,6 +22,9 @@ public:
virtual void set_section_body(
const StatusLineSection &section,
const std::string_view &body) noexcept = 0;
+
+ [[nodiscard]] virtual auto get_statusline() const noexcept
+ -> std::shared_ptr<IStatusLine> = 0;
};
using IStatusManagerFactory = yacppdic::Factory<std::unique_ptr<IStatusManager>(