annotate server/r_impl.h @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
rev   line source
ferencd@0 1 #ifndef R_SENDER_H
ferencd@0 2 #define R_SENDER_H
ferencd@0 3
ferencd@0 4 #include "web_component.h"
ferencd@0 5
ferencd@0 6 #include <string>
ferencd@0 7
ferencd@0 8 /* just sends a recipe */
ferencd@0 9 class r_impl final : public web_component
ferencd@0 10 {
ferencd@0 11 public:
ferencd@0 12
ferencd@0 13 r_impl(tnt::HttpRequest& request, tnt::HttpReply& reply, const std::string& what);
ferencd@0 14 unsigned send() final;
ferencd@0 15
ferencd@0 16 private:
ferencd@0 17
ferencd@0 18 std::string m_lang;
ferencd@0 19 std::string m_intro;
ferencd@0 20 std::string m_body;
ferencd@0 21 std::string m_key;
ferencd@0 22
ferencd@0 23 std::string getMd(const std::string &key, const std::string& f, const std::string &cCurrentPath);
ferencd@0 24 };
ferencd@0 25
ferencd@0 26 #endif