summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-02-24 00:28:59 +0100
committerPetr Mrázek <peterix@gmail.com>2014-02-24 00:28:59 +0100
commite3d2e5fd7405baa8137e300e8cc817e70df172b7 (patch)
tree1829794eec361e593d612017e4502a7cf95b4252 /logic/BaseInstance.h
parent71467246079bd7545472bda161dcaf5549205d33 (diff)
parent4883d1526222f9804f304f4cc189d6e44cb22b97 (diff)
downloadMultiMC-e3d2e5fd7405baa8137e300e8cc817e70df172b7.tar
MultiMC-e3d2e5fd7405baa8137e300e8cc817e70df172b7.tar.gz
MultiMC-e3d2e5fd7405baa8137e300e8cc817e70df172b7.tar.lz
MultiMC-e3d2e5fd7405baa8137e300e8cc817e70df172b7.tar.xz
MultiMC-e3d2e5fd7405baa8137e300e8cc817e70df172b7.zip
Merge branch 'fix_ftb' into integration_json_and_tools
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r--logic/BaseInstance.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index cd49f99b..341a6adb 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -25,6 +25,7 @@
#include "logic/auth/MojangAccount.h"
class QDialog;
+class QDir;
class Task;
class MinecraftProcess;
class OneSixUpdate;
@@ -51,6 +52,9 @@ public:
/// virtual destructor to make sure the destruction is COMPLETE
virtual ~BaseInstance() {};
+ virtual void init() {}
+ virtual void copy(const QDir &newDir) {}
+
/// nuke thoroughly - deletes the instance contents, notifies the list/model which is
/// responsible of cleaning up the husk
void nuke();