all repos — mgba @ c021267ce6e890ffe0b5dbc365ae2527deca49a6

mGBA Game Boy Advance Emulator

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

 1/* Copyright (c) 2013-2015 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_MEMORY_VIEW
 7#define QGBA_MEMORY_VIEW
 8
 9#include "MemoryModel.h"
10
11#include "ui_MemoryView.h"
12
13namespace QGBA {
14
15class GameController;
16
17class MemoryView : public QWidget {
18Q_OBJECT
19
20public:
21	MemoryView(GameController* controller, QWidget* parent = nullptr);
22
23private slots:
24	void setIndex(int);
25
26private:
27	Ui::MemoryView m_ui;
28
29	GameController* m_controller;
30};
31
32}
33
34#endif