LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ui::IErrorPresenter Class Referenceabstract

Presents user-facing error information via the current UI backend. More...

#include <IErrorPresenter.hpp>

Inheritance diagram for ui::IErrorPresenter:
Inheritance graph
Collaboration diagram for ui::IErrorPresenter:
Collaboration graph

Public Member Functions

virtual ~IErrorPresenter ()=default
 
virtual bool CanShowDialogs () const noexcept=0
 
virtual void ShowError (std::string_view message)=0
 Display an error message to the user.
 

Detailed Description

Presents user-facing error information via the current UI backend.

Constructor & Destructor Documentation

◆ ~IErrorPresenter()

virtual ui::IErrorPresenter::~IErrorPresenter ( )
virtualdefault

Member Function Documentation

◆ CanShowDialogs()

virtual bool ui::IErrorPresenter::CanShowDialogs ( ) const
pure virtualnoexcept
Returns
true if the underlying UI backend can currently display dialogs.

Implemented in ui::NoopErrorPresenter.

◆ ShowError()

virtual void ui::IErrorPresenter::ShowError ( std::string_view  message)
pure virtual

Display an error message to the user.

Implemented in ui::NoopErrorPresenter.


The documentation for this class was generated from the following file: