OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / debuggadget / debugengine.h
blob40d76f722e9e018f3741afcbbb92dd298227db27
1 #ifndef DEBUGENGINE_H
2 #define DEBUGENGINE_H
3 #include <QTextBrowser>
4 #include <QPointer>
5 #include <QMutex>
7 class debugengine {
8 // Add all missing constructor etc... to have singleton
9 debugengine();
10 ~debugengine();
11 public:
12 static debugengine *getInstance();
13 void setTextEdit(QTextBrowser *textEdit);
14 void writeMessage(const QString &message);
15 void setColor(const QColor &c);
16 QMutex *mut_lock;
17 private:
18 QPointer<QTextBrowser> _textEdit;
21 #endif // DEBUGENGINE_H