Files
oak-editor/app/project/projectsavemanager.h
T
itsmattkc 00b5672639 implemented saving UI
Implemented the file dialog, save progress dialog, and separate thread to save
in (saving needs to be done in a separate thread so the main/GUI thread doesn't
get blocked).
2020-01-12 16:26:05 +11:00

28 lines
361 B
C++

#ifndef PROJECTSAVEMANAGER_H
#define PROJECTSAVEMANAGER_H
#include <QObject>
#include "project.h"
class ProjectSaveManager : public QObject
{
Q_OBJECT
public:
ProjectSaveManager(Project* project);
public slots:
void Start();
signals:
void ProgressChanged(int);
void Finished();
private:
Project* project_;
};
#endif // PROJECTSAVEMANAGER_H