summaryrefslogtreecommitdiffhomepage
path: root/libcommon/mime.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-10 18:18:37 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-10 18:18:37 +0200
commit6c1cc0b2c854dd56dcb6238816a6ce2cb493c71c (patch)
treede041dfb3bc12a04fa4defdbd286d098f34adddc /libcommon/mime.h
parent5b32a4415c9776dd6cae859c8d718b5e68f01d81 (diff)
Separated out lib
Diffstat (limited to 'libcommon/mime.h')
-rw-r--r--libcommon/mime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcommon/mime.h b/libcommon/mime.h
new file mode 100644
index 0000000..c05eb45
--- /dev/null
+++ b/libcommon/mime.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#include <string>
+
+std::string mime_type(const std::string& path);