ferencd@0: #ifndef R_SENDER_H ferencd@0: #define R_SENDER_H ferencd@0: ferencd@0: #include "web_component.h" ferencd@0: ferencd@0: #include ferencd@0: ferencd@0: /* just sends a recipe */ ferencd@0: class r_impl final : public web_component ferencd@0: { ferencd@0: public: ferencd@0: ferencd@0: r_impl(tnt::HttpRequest& request, tnt::HttpReply& reply, const std::string& what); ferencd@0: unsigned send() final; ferencd@0: ferencd@0: private: ferencd@0: ferencd@0: std::string m_lang; ferencd@0: std::string m_intro; ferencd@0: std::string m_body; ferencd@0: std::string m_key; ferencd@0: ferencd@0: std::string getMd(const std::string &key, const std::string& f, const std::string &cCurrentPath); ferencd@0: }; ferencd@0: ferencd@0: #endif