Add open project menu item to Nostalgia Studio

This commit is contained in:
2017-05-10 22:45:18 -05:00
parent c971969a73
commit 3901493274
4 changed files with 70 additions and 7 deletions
+11
View File
@@ -8,6 +8,8 @@
#pragma once
#include <ox/fs/filesystem.hpp>
namespace nostalgia {
namespace studio {
@@ -15,13 +17,22 @@ class Project: public QObject {
Q_OBJECT
private:
static QString ROM_FILE;
QString m_path = "";
QByteArray *m_romBuff = nullptr;
ox::fs::FileSystem *m_fs = nullptr;
public:
Project(QString path);
~Project();
void create();
int open();
void save();
};
}