From 96366699cfd942c78c890d3613fbea0e01223441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20=C4=8Cuba?= Date: Mon, 6 Nov 2017 14:23:26 +0100 Subject: [PATCH] Rename dnf-swdb sources to .cpp/.hpp --- libdnf/swdb/CMakeLists.txt | 2 +- libdnf/swdb/dnf-swdb/CMakeLists.txt | 4 ++-- libdnf/swdb/dnf-swdb/{dnf-swdb-pkg.c => dnf-swdb-pkg.cpp} | 0 libdnf/swdb/dnf-swdb/{dnf-swdb-pkg.h => dnf-swdb-pkg.hpp} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename libdnf/swdb/dnf-swdb/{dnf-swdb-pkg.c => dnf-swdb-pkg.cpp} (100%) rename libdnf/swdb/dnf-swdb/{dnf-swdb-pkg.h => dnf-swdb-pkg.hpp} (100%) diff --git a/libdnf/swdb/CMakeLists.txt b/libdnf/swdb/CMakeLists.txt index 63742c7..99dca6e 100644 --- a/libdnf/swdb/CMakeLists.txt +++ b/libdnf/swdb/CMakeLists.txt @@ -3,7 +3,7 @@ SET(DNF_SWDB_DIR ) SET(DNF_SWDB_SOURCES - ${DNF_SWDB_DIR}/dnf-swdb-pkg.c + ${DNF_SWDB_DIR}/dnf-swdb-pkg.cpp ) SET(LIBDNF_SOURCES diff --git a/libdnf/swdb/dnf-swdb/CMakeLists.txt b/libdnf/swdb/dnf-swdb/CMakeLists.txt index 11ccb42..377d4ea 100644 --- a/libdnf/swdb/dnf-swdb/CMakeLists.txt +++ b/libdnf/swdb/dnf-swdb/CMakeLists.txt @@ -2,11 +2,11 @@ SET (DNF_GI_VERSION 42.0) # source files used for gir generation SET (DNF_SWDB_SOURCES - dnf-swdb-pkg.c + dnf-swdb-pkg.cpp ) SET (DNF_SWDB_HEADERS - dnf-swdb-pkg.h + dnf-swdb-pkg.hpp ) # gir generation - GObject introspection diff --git a/libdnf/swdb/dnf-swdb/dnf-swdb-pkg.c b/libdnf/swdb/dnf-swdb/dnf-swdb-pkg.cpp similarity index 100% rename from libdnf/swdb/dnf-swdb/dnf-swdb-pkg.c rename to libdnf/swdb/dnf-swdb/dnf-swdb-pkg.cpp diff --git a/libdnf/swdb/dnf-swdb/dnf-swdb-pkg.h b/libdnf/swdb/dnf-swdb/dnf-swdb-pkg.hpp similarity index 100% rename from libdnf/swdb/dnf-swdb/dnf-swdb-pkg.h rename to libdnf/swdb/dnf-swdb/dnf-swdb-pkg.hpp