summaryrefslogtreecommitdiffstats
path: root/client/browser/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/browser/src/mainwindow.h')
-rw-r--r--client/browser/src/mainwindow.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/browser/src/mainwindow.h b/client/browser/src/mainwindow.h
index 3e12d12b..ed746a70 100644
--- a/client/browser/src/mainwindow.h
+++ b/client/browser/src/mainwindow.h
@@ -1,8 +1,12 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#define COMMAND "command:"
-#define COMMAND_WITH_CONFIRMATION "commandwithconfirmation:"
+#define COMMAND "command"
+#define COMMAND_CONFIRM "command+confirm"
+#define COMMAND_WITH_CONFIRMATION "commandwithconfirmation" // Backwards compatibility
+#define COMMAND_OUTPUT "command+output"
+#define COMMAND_CONFIRM_OUTPUT "command+confirm+output"
+#define COMMAND_OUTPUT_CONFIRM "command+output+confirm"
#define ENVIRONMENT "OGLOGFILE,ogactiveadmin,DEFAULTSPEED"
#include <QWidget>
@@ -62,6 +66,7 @@ class MainWindow : public QMainWindow
protected:
int readEnvironmentValues();
void print(QString s);
+ void write(QString s);
void captureOutputForStatusBar(QString output);
void startProgressBar();
void finishProgressBar();