summaryrefslogtreecommitdiff
path: root/src/gamedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamedef.h')
-rw-r--r--src/gamedef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gamedef.h b/src/gamedef.h
index 593d27e30..6cd01305f 100644
--- a/src/gamedef.h
+++ b/src/gamedef.h
@@ -34,6 +34,7 @@ class MtEventManager;
class IRollbackManager;
class EmergeManager;
class Camera;
+class ModMetadata;
namespace irr { namespace scene {
class IAnimatedMesh;
@@ -75,6 +76,9 @@ public:
virtual const std::vector<ModSpec> &getMods() const = 0;
virtual const ModSpec* getModSpec(const std::string &modname) const = 0;
virtual std::string getWorldPath() const { return ""; }
+ virtual std::string getModStoragePath() const = 0;
+ virtual bool registerModStorage(ModMetadata *storage) = 0;
+ virtual void unregisterModStorage(const std::string &name) = 0;
};
#endif