X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/df2bb45e41303b5132feb6b264caaa01c31b8bb5..20d884ddac6b8cacedb2701e282efe3ff9785cbf:/projects/sgconf/action.h?ds=inline diff --git a/projects/sgconf/action.h b/projects/sgconf/action.h index 469d7460..0c1b4f92 100644 --- a/projects/sgconf/action.h +++ b/projects/sgconf/action.h @@ -35,10 +35,12 @@ class ACTION public: virtual ~ACTION() {} + virtual ACTION * Clone() const = 0; virtual std::string ParamDescription() const = 0; virtual std::string DefaultDescription() const = 0; virtual OPTION_BLOCK & Suboptions() = 0; virtual PARSER_STATE Parse(int argc, char ** argv) = 0; + virtual void ParseValue(const std::string &) {} class ERROR : public std::runtime_error {