diff options
| author | Martin Ridgers <[email protected]> | 2022-03-01 14:34:23 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-03-15 13:45:20 +0100 |
| commit | 57c32ad6d2534e975fb62d8c36768c72f06877f6 (patch) | |
| tree | cfb87864d7ecc0f6ad62756f174d1365d67cd4ec /zencore/include | |
| parent | ZipFs class providing a rudimentary in-memory/memory-mapped file system (diff) | |
| download | zen-57c32ad6d2534e975fb62d8c36768c72f06877f6.tar.xz zen-57c32ad6d2534e975fb62d8c36768c72f06877f6.zip | |
Added some new mime types; javascript, css, png and ico
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/iobuffer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zencore/include/zencore/iobuffer.h b/zencore/include/zencore/iobuffer.h index da68be516..449236127 100644 --- a/zencore/include/zencore/iobuffer.h +++ b/zencore/include/zencore/iobuffer.h @@ -27,6 +27,10 @@ enum class ZenContentType : uint8_t kCompressedBinary = 7, kUnknownContentType = 8, kHTML = 9, + kJavaScript = 10, + kCSS = 11, + kPNG = 12, + kIcon = 13, kCOUNT }; @@ -58,6 +62,15 @@ ToString(ZenContentType ContentType) return "yaml"sv; case ZenContentType::kHTML: return "html"sv; + case ZenContentType::kJavaScript: + return "javascript"sv; + case ZenContentType::kCSS: + return "css"sv; + case ZenContentType::kPNG: + return "png"sv; + case ZenContentType::kIcon: + return "icon"sv; + } } |