src/platform/qt/DebuggerREPL.h (view raw)
1/* Copyright (c) 2013-2016 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef QGBA_DEBUGGER_REPL
7#define QGBA_DEBUGGER_REPL
8
9#include "ui_DebuggerREPL.h"
10
11namespace QGBA {
12
13class DebuggerREPLController;
14
15class DebuggerREPL : public QWidget {
16Q_OBJECT
17
18public:
19 DebuggerREPL(DebuggerREPLController* controller, QWidget* parent = nullptr);
20
21private slots:
22 void log(const QString&);
23 void postLine();
24
25private:
26 Ui::DebuggerREPL m_ui;
27
28 DebuggerREPLController* m_replController;
29};
30
31}
32
33#endif