X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4ee4759a51cf944de103eb73a654ec00ccb3664d..9c340da9ffa670c20c3658a2be43d35868a9f5d9:/include/stg/tariffs.h diff --git a/include/stg/tariffs.h b/include/stg/tariffs.h index 9a35f645..81da67eb 100644 --- a/include/stg/tariffs.h +++ b/include/stg/tariffs.h @@ -15,7 +15,7 @@ */ /* - * Author : Maxim Mamontov + * Author : Maksym Mamontov */ #ifndef TARIFFS_H @@ -32,6 +32,8 @@ 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; @@ -46,7 +48,7 @@ public: virtual void AddNotifierDel(NOTIFIER_BASE * notifier) = 0; virtual void DelNotifierDel(NOTIFIER_BASE * notifier) = 0; - virtual void GetTariffsData(std::list * tdl) = 0; + virtual void GetTariffsData(std::list * tdl) const = 0; virtual size_t Count() const = 0;