NOISSUE continue refactoring things to make tests pass

This commit is contained in:
Petr Mrázek
2021-11-21 23:21:12 +01:00
parent c2c56a2f6c
commit 69213b1206
103 changed files with 634 additions and 773 deletions

View File

@ -20,8 +20,8 @@
#include "QObjectPtr.h"
#include "net/Mode.h"
#include "net/NetJob.h"
class Task;
namespace Meta
{
class BaseEntity
@ -54,7 +54,7 @@ public:
bool shouldStartRemoteUpdate() const;
void load(Net::Mode loadType);
shared_qobject_ptr<Task> getCurrentTask();
Task::Ptr getCurrentTask();
protected: /* methods */
bool loadLocalFile();
@ -62,6 +62,6 @@ protected: /* methods */
private:
LoadStatus m_loadStatus = LoadStatus::NotLoaded;
UpdateStatus m_updateStatus = UpdateStatus::NotDone;
shared_qobject_ptr<Task> m_updateTask;
NetJob::Ptr m_updateTask;
};
}