2 * Copyright (C) 2012-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
19 static std::string
GetMimeType(const std::string
&extension
);
20 static std::string
GetMimeType(const CFileItem
&item
);
21 static std::string
GetMimeType(const CURL
&url
, bool lookup
= true);
37 static EFileType
GetFileTypeFromMime(const std::string
& mimeType
);
38 static EFileType
GetFileTypeFromContent(const std::string
& fileContent
);
41 static bool parseMimeType(const std::string
& mimeType
, std::string
& type
, std::string
& subtype
);