MOD Gui support.

This commit is contained in:
Robin E. R. Davies
2025-07-10 11:37:02 -04:00
parent e7cdd38056
commit 890368352f
45 changed files with 1971 additions and 806 deletions
+6
View File
@@ -29,6 +29,7 @@ namespace pipedal {
class HtmlHelper {
public:
static std::string timeToHttpDate();
static std::string timeToHttpDate(time_t time);
static std::string timeToHttpDate(std::filesystem::file_time_type time);
@@ -57,6 +58,11 @@ public:
static std::string SafeFileName(const std::string &name);
static std::string HtmlEncode(const std::string& text);
static uint64_t crc64(uint8_t *data, size_t length,uint64_t crc = 0);
static uint64_t crc64(const std::string&value, uint64_t crc = 0);
static std::string generateEtag(const std::filesystem::path &path);
};
} // namespace.