Mercurial > thymian
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:a4671277546c |
|---|---|
| 1 #ifndef MAIN_SENDER_H | |
| 2 #define MAIN_SENDER_H | |
| 3 | |
| 4 #include "web_component.h" | |
| 5 | |
| 6 #include <string> | |
| 7 | |
| 8 static const std::string theme_path = "/theme/current/"; | |
| 9 | |
| 10 /* just sends a file */ | |
| 11 class main_sender final : public web_component | |
| 12 { | |
| 13 public: | |
| 14 | |
| 15 main_sender(tnt::HttpRequest& request, tnt::HttpReply& reply, const std::string& what); | |
| 16 unsigned send() final; | |
| 17 private: | |
| 18 std::string m_translated; | |
| 19 }; | |
| 20 | |
| 21 #endif |
