Merge pull request #25808 from CastagnaIT/fix_url_parse
[xbmc.git] / xbmc / filesystem / VideoDatabaseFile.h
blobd5488f9f4f36102f5bfa300324cca2ca7235ef82
1 /*
2 * Copyright (C) 2005-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.
7 */
9 #pragma once
11 #include "filesystem/OverrideFile.h"
13 enum class VideoDbContentType;
14 class CVideoInfoTag;
15 class CURL;
17 namespace XFILE
19 class CVideoDatabaseFile : public COverrideFile
21 public:
22 CVideoDatabaseFile(void);
23 ~CVideoDatabaseFile(void) override;
25 static CVideoInfoTag GetVideoTag(const CURL& url);
27 protected:
28 std::string TranslatePath(const CURL& url) override;
29 static VideoDbContentType GetType(const CURL& url);