summaryrefslogtreecommitdiffstats
path: root/gui/consolewindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/consolewindow.h')
-rw-r--r--gui/consolewindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/consolewindow.h b/gui/consolewindow.h
index 60bec69f..6a6c9e50 100644
--- a/gui/consolewindow.h
+++ b/gui/consolewindow.h
@@ -13,7 +13,7 @@ class ConsoleWindow : public QDialog
Q_OBJECT
public:
- explicit ConsoleWindow(QWidget *parent = 0);
+ explicit ConsoleWindow(MinecraftProcess *proc, QWidget *parent = 0);
~ConsoleWindow();
/**
@@ -48,12 +48,15 @@ public slots:
private slots:
void on_closeButton_clicked();
+ void on_btnKillMinecraft_clicked();
+ void onEnded();
protected:
void closeEvent(QCloseEvent *);
private:
Ui::ConsoleWindow *ui;
+ MinecraftProcess *proc;
bool m_mayclose;
};