xbmc
PlatformPosix.h
1 /*
2  * Copyright (C) 2019 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/Platform.h"
12 
13 #include <atomic>
14 
15 class CPlatformPosix : public CPlatform
16 {
17 public:
18  bool InitStageOne() override;
19 
20  static bool TestQuitFlag();
21  static void RequestQuit();
22 
23 private:
24  static std::atomic_flag ms_signalFlag;
25 };
bool InitStageOne() override
Called at an early stage of application startup.
Definition: PlatformPosix.cpp:22
Definition: PlatformPosix.h:15
Class for the Platform object.
Definition: Platform.h:25