// // Created by robin on 8/9/15. // #ifndef PDNS_SLAVE_ACTION_H #define PDNS_SLAVE_ACTION_H #include #include #include class AbstractSql; class Action { public: Action(); virtual ~Action(); const std::string getDhcpConf() const; virtual const std::string getSql(AbstractSql* sqlDb) const = 0; const std::string &getDomain() const; void setDomain(const std::string &domain); protected: virtual const std::string getDhcp() const; std::string _domain; }; typedef std::vector> Actions; #endif //PDNS_SLAVE_ACTION_H