all repos — mgba @ ac2097f0b69965835397aa8d10be2525d3a34c00

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 VFile;
14
15namespace QGBA {
16
17class ArchiveInspector : public QDialog {
18Q_OBJECT
19
20public:
21	ArchiveInspector(const QString& filename, QWidget* parent = nullptr);
22
23	VFile* selectedVFile() const;
24
25private:
26	Ui::ArchiveInspector m_ui;
27
28	LibraryModel m_model;
29};
30
31}
32
33#endif