#ifndef BF_INTERFACE_H #define BF_INTERFACE_H #include #include "bf.config.h" #include "bf.util.h" class BF_Interface { public: BF_Interface() = default; virtual ~BF_Interface(); public: void setConfig(std::shared_ptr config); virtual std::string doReady(const std::string& words, const std::string& from, const std::string& to) = 0; virtual std::string getResult(const std::string& data) = 0; protected: std::shared_ptr config_{}; }; #endif // BF_INTERFACE_H