all repos — mgba @ e2a5efeaf7b87547a0f678edc1d7807425fc1543

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