kodi
IAddonSupportCheck.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 
13 namespace KODI
14 {
15 namespace ADDONS
16 {
17 
26 {
27 public:
28  IAddonSupportCheck() = default;
29  virtual ~IAddonSupportCheck() = default;
30 
42  virtual bool SupportsFile(const std::string& filename) { return true; }
43 };
44 
45 } /* namespace ADDONS */
46 } /* namespace KODI */
virtual bool SupportsFile(const std::string &filename)
Function to query the respective add-ons used for the support of the desired file.
Definition: IAddonSupportCheck.h:42
Definition: AudioDecoder.h:18
Parent class to ask addons for support.
Definition: IAddonSupportCheck.h:25