all repos — mgba @ ec1fc632b23749add411a2d9a9a4a32bd957a99c

mGBA Game Boy Advance Emulator

src/platform/qt/DebuggerConsole.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_CONSOLE
 7#define QGBA_DEBUGGER_CONSOLE
 8
 9#include "ui_DebuggerConsole.h"
10
11namespace QGBA {
12
13class DebuggerConsoleController;
14
15class DebuggerConsole : public QWidget {
16Q_OBJECT
17
18public:
19	DebuggerConsole(DebuggerConsoleController* controller, QWidget* parent = nullptr);
20
21private slots:
22	void log(const QString&);
23	void postLine();
24
25private:
26	Ui::DebuggerConsole m_ui;
27
28	DebuggerConsoleController* m_consoleController;
29};
30
31}
32
33#endif