diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-09 14:37:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-09 14:37:41 +0300 |
commit | e0baa7398ca03060e5fe11c7647ae80ae258beeb (patch) | |
tree | 0fd71caa9678ec4fa4f44964229e374627f294dd /src/resources/modinfo.h | |
parent | 46585d7c62a53bfaf5173aa4e67d64735af1d2ed (diff) | |
download | plus-e0baa7398ca03060e5fe11c7647ae80ae258beeb.tar.gz plus-e0baa7398ca03060e5fe11c7647ae80ae258beeb.tar.bz2 plus-e0baa7398ca03060e5fe11c7647ae80ae258beeb.tar.xz plus-e0baa7398ca03060e5fe11c7647ae80ae258beeb.zip |
add support for localdir option in moddb.
Diffstat (limited to 'src/resources/modinfo.h')
-rw-r--r-- | src/resources/modinfo.h | 7 |
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; |