xbmc
PlatformLinux.h
1 /*
2  * Copyright (C) 2005-2020 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 "platform/linux/OptionalsReg.h"
12 #include "platform/posix/PlatformPosix.h"
13 
14 #include <memory>
15 
17 {
18 public:
19  CPlatformLinux() = default;
20 
21  ~CPlatformLinux() override = default;
22 
23  bool InitStageOne() override;
24  void DeinitStageOne() override;
25 
26  bool IsConfigureAddonsAtStartupEnabled() override;
27 
28 private:
29  std::unique_ptr<OPTIONALS::CLircContainer, OPTIONALS::delete_CLircContainer> m_lirc;
30 };
void DeinitStageOne() override
Called at a late stage of application shutdown.
Definition: PlatformLinux.cpp:143
Definition: PlatformPosix.h:15
Definition: PlatformLinux.h:16
bool IsConfigureAddonsAtStartupEnabled() override
Flag whether disabled add-ons - installed via packagemanager or manually - should be offered for conf...
Definition: PlatformLinux.cpp:156
bool InitStageOne() override
Called at an early stage of application startup.
Definition: PlatformLinux.cpp:57