all repos — mgba @ 63071d9bc2950f629176d0ce613b7de6a25c0f63

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	void updateStatus(uint32_t start, uint32_t end);
26
27private:
28	Ui::MemoryView m_ui;
29
30	GameController* m_controller;
31};
32
33}
34
35#endif