Files
oak-editor/app/project/projectloadmanager.h
T
itsmattkc 16878e3c25 implemented much of the project loading logic
Still not functional, but much of the groundwork is done.
2020-01-13 04:09:06 +11:00

30 lines
571 B
C++

#ifndef PROJECTLOADMANAGER_H
#define PROJECTLOADMANAGER_H
#include "projectfilemanagerbase.h"
class ProjectLoadManager : public ProjectFileManagerBase
{
Q_OBJECT
public:
ProjectLoadManager(const QString& filename);
public slots:
/**
* @brief Start the load process
*
* It's recommended to invoke this through Qt signals/slots/QueuedConnection after moving this object to a separate
* thread.
*/
virtual void Start() override;
signals:
void ProjectLoaded(ProjectPtr project);
private:
QString filename_;
};
#endif // PROJECTLOADMANAGER_H