blob: 29750d64a48d967bb7a769826133164006fbb67d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "interfaces/statusline.hpp"
#include <memory>
#include <string_view>
// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IStatusManager
{
public:
virtual ~IStatusManager() = default;
virtual void bind(const std::shared_ptr<IStatusLine> &statusline) noexcept = 0;
virtual void set_section_title(
const StatusLineSection §ion,
const std::string_view &title) = 0;
virtual void set_section_body(
const StatusLineSection §ion,
const std::string_view &body) noexcept = 0;
};
|