annotate server/main_sender.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 MAIN_SENDER_H
ferencd@0 2 #define MAIN_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 static const std::string theme_path = "/theme/current/";
ferencd@0 9
ferencd@0 10 /* just sends a file */
ferencd@0 11 class main_sender final : public web_component
ferencd@0 12 {
ferencd@0 13 public:
ferencd@0 14
ferencd@0 15 main_sender(tnt::HttpRequest& request, tnt::HttpReply& reply, const std::string& what);
ferencd@0 16 unsigned send() final;
ferencd@0 17 private:
ferencd@0 18 std::string m_translated;
ferencd@0 19 };
ferencd@0 20
ferencd@0 21 #endif