]> Shamusworld >> Repos - architektonas/blobdiff - src/consolewidget.h
Added Parallel tool + command processing.
[architektonas] / src / consolewidget.h
index 147b5979e1f52b77673d29aac8482d6cf44508f4..4d188876e6893633c5acf7b666b1ad32be420994 100644 (file)
@@ -2,7 +2,9 @@
 #define __CONSOLEWIDGET_H__
 
 #include <QtWidgets>
-#include "promptlineedit.h"
+
+class PromptLineEdit;
+class CommandProcessor;
 
 class ConsoleWidget: public QWidget
 {
@@ -11,17 +13,16 @@ class ConsoleWidget: public QWidget
        public:
                ConsoleWidget(QWidget * parent = NULL);
                ~ConsoleWidget();
+               void SetToolPrompt(void);
 
        public slots:
                void Execute(void);
                void MoveScrollBarToBottom(int min, int max);
 
-       protected:
-               void paintEvent(QPaintEvent * event);
-
        public:
-               PromptLineEdit * cmdline;
+               PromptLineEdit * cmdLine;
                QTextEdit * screen;
+               CommandProcessor * cmdProc;
 };
 
 #endif // __CONSOLEWIDGET_H__