kodi
CPUInfoAndroid.h
1 /*
2  * Copyright (C) 2005-2018 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 "utils/Temperature.h"
12 
13 #include "platform/posix/CPUInfoPosix.h"
14 #include "platform/posix/filesystem/PosixFile.h"
15 
16 #include <memory>
17 
18 using namespace XFILE;
19 
21 {
22 public:
24  ~CCPUInfoAndroid() = default;
25 
26  bool SupportsCPUUsage() const override { return false; }
27  int GetUsedPercentage() override { return 0; }
28  float GetCPUFrequency() override;
29 
30 private:
31  std::unique_ptr<CPosixFile> m_posixFile;
32 };
Definition: Scraper.h:41
Definition: CPUInfoAndroid.h:20
Definition: CPUInfoPosix.h:13