Leviathan  0.8.0.0
Leviathan game engine
MimeTypes.h
Go to the documentation of this file.
1 // Leviathan Game Engine
2 // Copyright (c) 2012-2018 Henri Hyyryläinen
3 #include "Define.h"
4 // ------------------------------------ //
5 
6 namespace Leviathan {
7 
11 DLLEXPORT std::string_view GetMimeTypeFromPath(const std::string_view& path);
12 } // namespace Leviathan
DLLEXPORT std::string_view GetMimeTypeFromPath(const std::string_view &path)
This returns a mime type based on the file extension.
Definition: MimeTypes.cpp:8
#define DLLEXPORT
Definition: Include.h:84
The access mask controls which registered functions and classes a script sees.
Definition: GameModule.h:12