]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Fix the Windows build system to use the new license file location.
[user/henk/code/inspircd.git] / include / configreader.h
index a82420b4ed91e792b0f5fae4252e99c168d2ecd1..b603f2e10f060e26483802c964a6d59e25fbc50c 100644 (file)
@@ -42,6 +42,8 @@ class CoreExport ConfigTag : public refcountbase
        const std::string src_name;
        const int src_line;
 
+       /** Get the value of an option, using def if it does not exist */
+       std::string getString(const std::string& key, const std::string& def, const TR1NS::function<bool(const std::string&)>& validator);
        /** Get the value of an option, using def if it does not exist */
        std::string getString(const std::string& key, const std::string& def = "", size_t minlen = 0, size_t maxlen = UINT32_MAX);
        /** Get the value of an option, using def if it does not exist */