Solid

iokitprocessor.h
1/*
2 SPDX-FileCopyrightText: 2009 Harald Fernengel <harry@kdevelop.org>
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_IOKIT_PROCESSOR_H
8#define SOLID_BACKENDS_IOKIT_PROCESSOR_H
9
10#include "iokitdeviceinterface.h"
11#include <solid/devices/ifaces/processor.h>
12
13namespace Solid
14{
15namespace Backends
16{
17namespace IOKit
18{
19class IOKitDevice;
20
21class Processor : public DeviceInterface, virtual public Solid::Ifaces::Processor
22{
25
26public:
27 Processor(IOKitDevice *device);
28 virtual ~Processor();
29
30 int number() const override;
31 int maxSpeed() const override;
32 bool canChangeFrequency() const override;
33 Solid::Processor::InstructionSets instructionSets() const override;
34 static QString vendor();
35 static QString product();
36};
37}
38}
39}
40
41#endif // SOLID_BACKENDS_IOKIT_PROCESSOR_H
This device interface is available on processors.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.