all repos — mgba @ c7593d7073069caa8b73ebff50d51aec8aafa06e

mGBA Game Boy Advance Emulator

src/platform/qt/GDBWindow.h (view raw)

 1/* Copyright (c) 2013-2014 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_GDB_WINDOW
 7#define QGBA_GDB_WINDOW
 8
 9#include <QWidget>
10
11class QLineEdit;
12class QPushButton;
13
14namespace QGBA {
15
16class GDBController;
17
18class GDBWindow : public QWidget {
19Q_OBJECT
20
21public:
22	GDBWindow(GDBController* controller, QWidget* parent = nullptr);
23
24private slots:
25	void portChanged(const QString&);
26	void bindAddressChanged(const QString&);
27
28	void started();
29	void stopped();
30
31private:
32	GDBController* m_gdbController;
33
34	QLineEdit* m_portEdit;
35	QLineEdit* m_bindAddressEdit;
36	QPushButton* m_startStopButton;
37};
38
39}
40
41#endif