LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
LC::Util::ActionResultReporter Class Reference

#include "actionresultreporter.h"

Classes

struct  Config
 
struct  DefaultBackgroundPolicy
 
struct  FocusBackgroundPolicy
 
struct  TimeoutBackgroundPolicy
 

Public Types

using BackgroundPolicy = std::variant< DefaultBackgroundPolicy, FocusBackgroundPolicy, std::chrono::milliseconds >
 

Public Member Functions

 ActionResultReporter (IEntityManager &iem, Config config, QWidget *parent=nullptr)
 
void operator() (const QString &)
 

Detailed Description

Definition at line 23 of file actionresultreporter.h.

Member Typedef Documentation

◆ BackgroundPolicy

Definition at line 45 of file actionresultreporter.h.

Constructor & Destructor Documentation

◆ ActionResultReporter()

LC::Util::ActionResultReporter::ActionResultReporter ( IEntityManager iem,
Config  config,
QWidget *  parent = nullptr 
)
explicit

Definition at line 30 of file actionresultreporter.cpp.

Member Function Documentation

◆ operator()()

void LC::Util::ActionResultReporter::operator() ( const QString &  error)

Definition at line 45 of file actionresultreporter.cpp.

References LC::Critical, IEntityManager::HandleEntity(), LC::Info, LC::Util::MakeNotification(), and LC::Warning.

+ Here is the call graph for this function:

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