summaryrefslogtreecommitdiff
path: root/src/resources/modinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/modinfo.h')
-rw-r--r--src/resources/modinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/modinfo.h b/src/resources/modinfo.h
index e2acf31cd..b621e45d8 100644
--- a/src/resources/modinfo.h
+++ b/src/resources/modinfo.h
@@ -51,10 +51,17 @@ class ModInfo final
const std::string &getHelp() const A_WARN_UNUSED
{ return mHelp; }
+ void setLocalDir(const std::string &text)
+ { mLocalDir = text; }
+
+ const std::string &getLocalDir() const A_WARN_UNUSED
+ { return mLocalDir; }
+
private:
std::string mName;
std::string mDescription;
std::string mHelp;
+ std::string mLocalDir;
};
typedef std::map<std::string, ModInfo*> ModInfos;