X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/13121b693bd98a04532195b9631b862b6136b3c7..d2b05df9aed6362e0e9f560d610108aaf3acdd19:/include/stg/plugin.h?ds=inline diff --git a/include/stg/plugin.h b/include/stg/plugin.h index 845a3d15..114ffc8b 100644 --- a/include/stg/plugin.h +++ b/include/stg/plugin.h @@ -45,6 +45,7 @@ struct MODULE_SETTINGS; class PLUGIN : private NONCOPYABLE { public: + virtual ~PLUGIN() {} virtual void SetUsers(USERS *) {} virtual void SetTariffs(TARIFFS *) {} virtual void SetAdmins(ADMINS *) {} @@ -61,7 +62,7 @@ public: virtual int Reload() = 0; virtual bool IsRunning() = 0; virtual const std::string & GetStrError() const = 0; - virtual const std::string GetVersion() const = 0; + virtual std::string GetVersion() const = 0; virtual uint16_t GetStartPosition() const = 0; virtual uint16_t GetStopPosition() const = 0; };