| 1 | /* |
| 2 | SPDX-FileCopyrightText: 2010 Alex Merry <alex.merry@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_UDEV_CPUINFO_H |
| 8 | #define SOLID_BACKENDS_UDEV_CPUINFO_H |
| 9 | |
| 10 | #include <QString> |
| 11 | |
| 12 | namespace Solid |
| 13 | { |
| 14 | namespace Backends |
| 15 | { |
| 16 | namespace UDev |
| 17 | { |
| 18 | /*! |
| 19 | * Extracts vendor from /proc/cpuinfo for a given processor |
| 20 | */ |
| 21 | QString (int processorNumber); |
| 22 | /*! |
| 23 | * Extracts model from /proc/cpuinfo for a given processor |
| 24 | */ |
| 25 | QString (int processorNumber); |
| 26 | /*! |
| 27 | * Extracts speed from /proc/cpuinfo for a given processor |
| 28 | */ |
| 29 | int (int processorNumber); |
| 30 | |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | #endif // SOLID_BACKENDS_UDEV_CPUINFO_H |
| 36 | |