4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
16 #include "support/ProgressInterface.h"
29 public lyx::support::ProgressInterface
37 void lyxerrConnect() override;
38 void lyxerrDisconnect() override;
39 void lyxerrFlush() override;
41 int prompt(docstring const & title, docstring const & question,
42 int default_button, int cancel_button,
43 docstring const & b1, docstring const & b2) override;
45 static QString currentTime();
50 void processStarted(QString const &) override;
51 void processFinished(QString const &) override;
52 void appendMessage(QString const &) override;
53 void appendError(QString const &) override;
54 void clearMessages() override;
55 void appendLyXErrMessage(QString const & text);
58 void clearMessageText();
59 void updateStatusBarMessage(QString const &);
63 void warning(QString const & title, QString const & message) override;
64 void toggleWarning(QString const & title, QString const & msg, QString const & formatted) override;
65 void error(QString const & title, QString const & message, QString const & details = QString()) override;
66 void information(QString const & title, QString const & message) override;
69 void doProcessStarted(QString const &);
70 void doProcessFinished(QString const &);
71 void doAppendMessage(QString const &);
72 void doAppendError(QString const &);
73 void doClearMessages();
75 void doWarning(QString const &, QString const &);
76 void doToggleWarning(QString const & title, QString const & msg, QString const & formatted);
77 void doError(QString const &, QString const &, QString const &);
78 void doInformation(QString const &, QString const &);
80 void updateWithLyXErr();
85 void appendText(QString const &);
86 std::ostringstream lyxerr_stream_;
92 } // namespace frontend