[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / events / EventLogManager.h
blob033dbc08327beda1b049948faa0f6059ff3a088c
1 /*
2 * Copyright (C) 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.
7 */
9 #pragma once
11 #include "threads/CriticalSection.h"
13 #include <map>
14 #include <memory>
16 class CEventLog;
18 class CEventLogManager
20 public:
21 CEventLog &GetEventLog(unsigned int profileId);
23 private:
24 std::map<unsigned int, std::unique_ptr<CEventLog>> m_eventLogs;
25 CCriticalSection m_eventMutex;