2 * Copyright (C) 2015-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.
11 #include "addons/Addon.h"
13 #define WEBINTERFACE_DEFAULT_ENTRY_POINT "index.html"
17 typedef enum WebinterfaceType
19 WebinterfaceTypeStatic
= 0,
23 class CWebinterface
: public CAddon
26 explicit CWebinterface(const AddonInfoPtr
& addonInfo
);
28 WebinterfaceType
GetType() const { return m_type
; }
29 const std::string
& EntryPoint() const { return m_entryPoint
; }
31 std::string
GetEntryPoint(const std::string
&path
) const;
32 std::string
GetBaseLocation() const;
35 WebinterfaceType m_type
= WebinterfaceTypeStatic
;
36 std::string m_entryPoint
;