X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8337f36907f14b1e9979108800e82b8e0ca47a59..de9e44e256657beb5160021c7e4fd21d8a9a21d2:/include/stg/tariffs.h diff --git a/include/stg/tariffs.h b/include/stg/tariffs.h index 6a851c5a..51179d2f 100644 --- a/include/stg/tariffs.h +++ b/include/stg/tariffs.h @@ -22,7 +22,7 @@ #define TARIFFS_H #include -#include +#include #include "notifer.h" @@ -32,8 +32,6 @@ struct TARIFF_DATA; class TARIFFS { public: - typedef std::list Tariffs; - virtual ~TARIFFS() {} virtual int ReadTariffs () = 0; virtual const TARIFF * FindByName(const std::string & name) const = 0; @@ -48,7 +46,7 @@ public: virtual void AddNotifierDel(NOTIFIER_BASE * notifier) = 0; virtual void DelNotifierDel(NOTIFIER_BASE * notifier) = 0; - virtual void GetTariffsData(std::list * tdl) const = 0; + virtual void GetTariffsData(std::vector * tdl) const = 0; virtual size_t Count() const = 0;