Solid

fakeprocessor.h
1/*
2 SPDX-FileCopyrightText: 2006 Michaƫl Larouche <michael.larouche@kdemail.net>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef SOLID_BACKENDS_FAKEHW_FAKEPROCESSOR_H
8#define SOLID_BACKENDS_FAKEHW_FAKEPROCESSOR_H
9
10#include "fakedeviceinterface.h"
11#include <solid/devices/ifaces/processor.h>
12
13namespace Solid
14{
15namespace Backends
16{
17namespace Fake
18{
19class FakeProcessor : public FakeDeviceInterface, public Solid::Ifaces::Processor
20{
23
24public:
25 explicit FakeProcessor(FakeDevice *device);
26 ~FakeProcessor() override;
27
28public Q_SLOTS:
29 int number() const override;
30 int maxSpeed() const override;
31 bool canChangeFrequency() const override;
32 Solid::Processor::InstructionSets instructionSets() const override;
33};
34}
35}
36}
37
38#endif // SOLID_BACKENDS_FAKEHW_FAKEPROCESSOR_H
This device interface is available on processors.
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.