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> 24 #include <quentier/utility/Macros.h> 28 QT_FORWARD_DECLARE_CLASS(QDebug)
29 QT_FORWARD_DECLARE_CLASS(QTextStream)
46 friend QDebug & operator<<(QDebug & dbg,
const ExitStatus status);
48 friend QTextStream & operator<<(
49 QTextStream & strm,
const ExitStatus status);
51 ExitStatus exitStatus()
const;
57 void exitAsFailureWithError(QString errorDescription);
58 void exitAsFailureWithErrorString(
ErrorString errorDescription);
62 ExitStatus m_exitStatus;
68 #endif // LIB_QUENTIER_UTILITY_EVENT_LOOP_WITH_EXIT_STATUS_H The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:43
Definition: EventLoopWithExitStatus.h:33