19#ifndef LIB_QUENTIER_UTILITY_EVENT_LOOP_WITH_EXIT_STATUS_H
20#define LIB_QUENTIER_UTILITY_EVENT_LOOP_WITH_EXIT_STATUS_H
22#include <quentier/types/ErrorString.h>
23#include <quentier/utility/Linkage.h>
27QT_FORWARD_DECLARE_CLASS(QDebug)
28QT_FORWARD_DECLARE_CLASS(QTextStream)
45 friend QDebug & operator<<(QDebug & dbg,
const ExitStatus status);
47 friend QTextStream & operator<<(
48 QTextStream & strm,
const ExitStatus status);
50 ExitStatus exitStatus()
const;
56 void exitAsFailureWithError(QString errorDescription);
57 void exitAsFailureWithErrorString(
ErrorString errorDescription);
61 ExitStatus m_exitStatus;
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition ErrorString.h:44
Definition EventLoopWithExitStatus.h:33