Changeset View
Changeset View
Standalone View
Standalone View
src/solid/devices/backends/iokit/iokitprocessor.h
- This file was copied to src/solid/devices/backends/iokit/iokitblock.h, src/solid/devices/backends/iokit/iokitstorage.h.
Show All 35 Lines | |||||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | Q_INTERFACES(Solid::Ifaces::Processor) | 38 | Q_INTERFACES(Solid::Ifaces::Processor) | ||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | Processor(IOKitDevice *device); | 41 | Processor(IOKitDevice *device); | ||
42 | virtual ~Processor(); | 42 | virtual ~Processor(); | ||
43 | 43 | | |||
44 | virtual int number() const; | 44 | virtual int number() const Q_DECL_OVERRIDE; | ||
45 | virtual int maxSpeed() const; | 45 | virtual int maxSpeed() const Q_DECL_OVERRIDE; | ||
46 | virtual bool canChangeFrequency() const; | 46 | virtual bool canChangeFrequency() const Q_DECL_OVERRIDE; | ||
47 | virtual Solid::Processor::InstructionSets instructionSets() const; | 47 | virtual Solid::Processor::InstructionSets instructionSets() const Q_DECL_OVERRIDE; | ||
48 | static QString vendor(); | ||||
49 | static QString product(); | ||||
48 | }; | 50 | }; | ||
49 | } | 51 | } | ||
50 | } | 52 | } | ||
51 | } | 53 | } | ||
52 | 54 | | |||
53 | #endif // SOLID_BACKENDS_IOKIT_PROCESSOR_H | 55 | #endif // SOLID_BACKENDS_IOKIT_PROCESSOR_H |