+ class FACTORY : public BASE_PARSER::FACTORY
+ {
+ public:
+ FACTORY(const ADMIN & admin, TARIFFS & tariffs, const USERS & users)
+ : m_admin(admin), m_tariffs(tariffs), m_users(users)
+ {}
+ virtual BASE_PARSER * create() { return new DEL_TARIFF(m_admin, m_users, m_tariffs); }
+ private:
+ const ADMIN & m_admin;
+ TARIFFS & m_tariffs;
+ const USERS & m_users;
+ };
+