[Windows] Remove redundant DirectSound error codes
[xbmc.git] / xbmc / platform / android / CPUInfoAndroid.h
blob2ce5e7f451deae640691dbdbc5f0acbc51152300
1 /*
2 * Copyright (C) 2005-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 "platform/posix/CPUInfoPosix.h"
12 #include "platform/posix/filesystem/PosixFile.h"
14 #include <memory>
16 using namespace XFILE;
18 class CCPUInfoAndroid : public CCPUInfoPosix
20 public:
21 CCPUInfoAndroid();
22 ~CCPUInfoAndroid() = default;
24 bool SupportsCPUUsage() const override { return false; }
25 int GetUsedPercentage() override { return 0; }
26 float GetCPUFrequency() override;
28 private:
29 std::unique_ptr<CPosixFile> m_posixFile;
31 int GetCPUCount();
32 bool HasNeon();