From 5e352c6771822863346bd877ec38184afc7c4349 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 19 Jun 2019 09:06:05 +0200 Subject: [PATCH] [libcalamares] Mark KPM support API as such - Some of these classes are only compiled in when KPMcore is found. --- src/libcalamares/partition/FileSystem.h | 6 ++++++ src/libcalamares/partition/KPMManager.h | 5 +++++ src/libcalamares/partition/PartitionIterator.h | 5 +++++ src/libcalamares/partition/PartitionQuery.h | 6 ++++++ 4 files changed, 22 insertions(+) diff --git a/src/libcalamares/partition/FileSystem.h b/src/libcalamares/partition/FileSystem.h index 6ceebda7e..9923f5dfd 100644 --- a/src/libcalamares/partition/FileSystem.h +++ b/src/libcalamares/partition/FileSystem.h @@ -17,6 +17,12 @@ * You should have received a copy of the GNU General Public License * along with Calamares. If not, see . */ + +/* + * NOTE: this functionality is only available when Calamares is compiled + * with KPMcore support. + */ + #ifndef PARTITION_FILESYSTEM_H #define PARTITION_FILESYSTEM_H diff --git a/src/libcalamares/partition/KPMManager.h b/src/libcalamares/partition/KPMManager.h index 15df57448..5f7039221 100644 --- a/src/libcalamares/partition/KPMManager.h +++ b/src/libcalamares/partition/KPMManager.h @@ -16,6 +16,11 @@ * along with Calamares. If not, see . */ +/* + * NOTE: this functionality is only available when Calamares is compiled + * with KPMcore support. + */ + #ifndef PARTITION_KPMMANAGER_H #define PARTITION_KPMMANAGER_H diff --git a/src/libcalamares/partition/PartitionIterator.h b/src/libcalamares/partition/PartitionIterator.h index c91a452ad..78d930cf4 100644 --- a/src/libcalamares/partition/PartitionIterator.h +++ b/src/libcalamares/partition/PartitionIterator.h @@ -18,6 +18,11 @@ * along with Calamares. If not, see . */ +/* + * NOTE: this functionality is only available when Calamares is compiled + * with KPMcore support. + */ + #ifndef PARTITION_PARTITIONITERATOR_H #define PARTITION_PARTITIONITERATOR_H diff --git a/src/libcalamares/partition/PartitionQuery.h b/src/libcalamares/partition/PartitionQuery.h index db0a2d014..18eb7edd2 100644 --- a/src/libcalamares/partition/PartitionQuery.h +++ b/src/libcalamares/partition/PartitionQuery.h @@ -17,6 +17,12 @@ * You should have received a copy of the GNU General Public License * along with Calamares. If not, see . */ + +/* + * NOTE: this functionality is only available when Calamares is compiled + * with KPMcore support. + */ + #ifndef PARTITION_PARTITIONQUERY_H #define PARTITION_PARTITIONQUERY_H