diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:34:57 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:34:57 +0100 |
| commit | 6232d13f5321b87ddf12a1aa36b4545da45f173d (patch) | |
| tree | 23f3316470a14136debd9d02f9e920ca2b06f4cc /src/mime_types.hh | |
Travel3: Simple image and video display site
Reads the images and videos from filesystem and builds a site in
memroy.
Diffstat (limited to 'src/mime_types.hh')
| -rw-r--r-- | src/mime_types.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mime_types.hh b/src/mime_types.hh new file mode 100644 index 0000000..c68a7f9 --- /dev/null +++ b/src/mime_types.hh @@ -0,0 +1,12 @@ +#ifndef MIME_TYPES_HH +#define MIME_TYPES_HH + +#include <string_view> + +namespace mime_types { + +std::string_view from_extension(std::string_view ext); + +} // namespace mime_types + +#endif // MIME_TYPES_HH |
