LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
IErrorPresenter.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string_view>
4
5namespace ui {
6
11public:
12 virtual ~IErrorPresenter() = default;
13
17 virtual bool CanShowDialogs() const noexcept = 0;
18
22 virtual void ShowError(std::string_view message) = 0;
23};
24
25} // namespace ui
Presents user-facing error information via the current UI backend.
Definition IErrorPresenter.hpp:10
virtual void ShowError(std::string_view message)=0
Display an error message to the user.
virtual bool CanShowDialogs() const noexcept=0
virtual ~IErrorPresenter()=default
Definition IErrorPresenter.hpp:5