X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/56b1d97151af8cc1f3f7143450bdf3008e246f55..12b88fa193a36e0d4ed35b1912e5cf1dfe633ce6:/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;