| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/iprofilepart.h" |
| 7 | #include "core/isyscomponentprofilepart.h" |
| 8 | |
| 9 | class ICPUProfilePart : public ISysComponentProfilePart |
| 10 | { |
| 11 | public: |
| 12 | class Importer : public IProfilePart::Importer |
| 13 | { |
| 14 | public: |
| 15 | virtual int providePhysicalId() const = 0; |
| 16 | }; |
| 17 | |
| 18 | class Exporter : public IProfilePart::Exporter |
| 19 | { |
| 20 | public: |
| 21 | virtual void takePhysicalId(int id) = 0; |
| 22 | }; |
| 23 | |
| 24 | virtual ~ICPUProfilePart() = default; |
| 25 | }; |