]> git.stg.codes - stg.git/blobdiff - include/stg/tariff.h
Ticket 37. TariffChangelsAllowed function name changed to
[stg.git] / include / stg / tariff.h
index 879c4ecc9e3e7f1a5b1ddca3913ee45d9d069400..9bd9973eaa5cedebbe33f91b236e3a1df3de1995 100644 (file)
@@ -67,6 +67,7 @@ public:
     virtual int64_t GetTraffByType(uint64_t up, uint64_t down) const = 0;
     virtual int     GetThreshold(int dir) const = 0;
     virtual const TARIFF_DATA & GetTariffData() const = 0;
+    virtual std::string TariffChangeIsAllowed(const TARIFF & to) const = 0;
 };
 
 inline