all repos — mgba @ fa36a3da812701bbf163db20507c5253c9fb3c22

mGBA Game Boy Advance Emulator

src/platform/qt/ArchiveInspector.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_ARCHIVE_INSPECTOR
 7#define QGBA_ARCHIVE_INSPECTOR
 8
 9#include "LibraryModel.h"
10
11#include "ui_ArchiveInspector.h"
12
13struct VDir;
14struct VFile;
15
16namespace QGBA {
17
18class ArchiveInspector : public QDialog {
19Q_OBJECT
20
21public:
22	ArchiveInspector(const QString& filename, QWidget* parent = nullptr);
23	virtual ~ArchiveInspector();
24
25	VFile* selectedVFile() const;
26
27private:
28	Ui::ArchiveInspector m_ui;
29
30	LibraryModel m_model;
31	VDir* m_dir;
32};
33
34}
35
36#endif