kodi
xbmc
platform
android
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
20
class
CCPUInfoAndroid
:
public
CCPUInfoPosix
21
{
22
public
:
23
CCPUInfoAndroid
();
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
};
XFILE
Definition:
Scraper.h:41
CCPUInfoAndroid
Definition:
CPUInfoAndroid.h:20
CCPUInfoPosix
Definition:
CPUInfoPosix.h:13
Generated by
1.8.13