kodi
GameResource.h
1 /*
2  * Copyright (C) 2016-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 "addons/Resource.h"
12 
13 #include <memory>
14 
15 namespace ADDON
16 {
17 
18 class CGameResource : public CResource
19 {
20 public:
21  explicit CGameResource(const AddonInfoPtr& addonInfo);
22  ~CGameResource() override = default;
23 
24  // implementation of CResource
25  bool IsAllowed(const std::string& file) const override { return true; }
26 };
27 
28 }
Definition: Resource.h:19
Definition: Addon.cpp:39
Definition: GameResource.h:18