X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4ee4759a51cf944de103eb73a654ec00ccb3664d..de9e44e256657beb5160021c7e4fd21d8a9a21d2:/include/stg/plugin.h?ds=sidebyside diff --git a/include/stg/plugin.h b/include/stg/plugin.h index 2ecf7af0..d02ff699 100644 --- a/include/stg/plugin.h +++ b/include/stg/plugin.h @@ -29,9 +29,9 @@ #define PLUGIN_H #include +#include #include "noncopyable.h" -#include "os_int.h" #include "admins.h" #include "users.h" #include "tariffs.h" @@ -59,10 +59,10 @@ public: virtual int Start() = 0; virtual int Stop() = 0; - virtual int Reload() = 0; + virtual int Reload(const MODULE_SETTINGS &) = 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; };