]> git.stg.codes - stg.git/blobdiff - tests/testtariffs.h
Some minor changes in bf stream.
[stg.git] / tests / testtariffs.h
index e2651814cf0e94562917f37ade55983aeae85a67..fb7b1fe2d319e3f71f202d3a94ef2a6f125a6b08 100644 (file)
@@ -12,13 +12,20 @@ class TEST_TARIFFS : public TARIFFS {
         int            ReadTariffs () { return 0; }
         const TARIFF * FindByName(const std::string & /*name*/) const { return &testTariff; }
         const TARIFF * GetNoTariff() const { return NULL; }
-        int            GetTariffsNum() const { return 0; }
         int            Del(const std::string & /*name*/, const ADMIN * /*admin*/) { return 0; }
         int            Add(const std::string & /*name*/, const ADMIN * /*admin*/) { return 0; }
         int            Chg(const TARIFF_DATA & /*td*/, const ADMIN * /*admin*/) { return 0; }
 
+        void AddNotifierAdd(NOTIFIER_BASE<TARIFF_DATA> *) {}
+        void DelNotifierAdd(NOTIFIER_BASE<TARIFF_DATA> *) {}
+
+        void AddNotifierDel(NOTIFIER_BASE<TARIFF_DATA> *) {}
+        void DelNotifierDel(NOTIFIER_BASE<TARIFF_DATA> *) {}
+
         void           GetTariffsData(std::list<TARIFF_DATA> * /*tdl*/) {}
 
+        size_t         Count() const { return 0; }
+
         const std::string & GetStrError() const { return strError; }
 
         void           SetFee(double fee);