summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceCopyTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/InstanceCopyTask.h')
-rw-r--r--api/logic/InstanceCopyTask.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/api/logic/InstanceCopyTask.h b/api/logic/InstanceCopyTask.h
index a8dc9783..8dd55b40 100644
--- a/api/logic/InstanceCopyTask.h
+++ b/api/logic/InstanceCopyTask.h
@@ -11,23 +11,21 @@
#include "BaseInstance.h"
#include "InstanceTask.h"
-class BaseInstanceProvider;
-
class MULTIMC_LOGIC_EXPORT InstanceCopyTask : public InstanceTask
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit InstanceCopyTask(InstancePtr origInstance, bool copySaves);
+ explicit InstanceCopyTask(InstancePtr origInstance, bool copySaves);
protected:
- //! Entry point for tasks.
- virtual void executeTask() override;
- void copyFinished();
- void copyAborted();
+ //! Entry point for tasks.
+ virtual void executeTask() override;
+ void copyFinished();
+ void copyAborted();
private: /* data */
- InstancePtr m_origInstance;
- QFuture<bool> m_copyFuture;
- QFutureWatcher<bool> m_copyFutureWatcher;
- std::unique_ptr<IPathMatcher> m_matcher;
+ InstancePtr m_origInstance;
+ QFuture<bool> m_copyFuture;
+ QFutureWatcher<bool> m_copyFutureWatcher;
+ std::unique_ptr<IPathMatcher> m_matcher;
};