Do not export CoreBackendDevice and CoreBackendPartitionTable classes.

This commit is contained in:
Andrius Štikonas 2018-01-21 13:53:07 +00:00
parent 098b9bc2ae
commit 4eff7d7594
5 changed files with 5 additions and 5 deletions

View File

@ -19,8 +19,6 @@
#define KPMCORE_COREBACKENDDEVICE_H
#include "util/libpartitionmanagerexport.h"
#include <QString>
class CoreBackendPartition;
@ -37,7 +35,7 @@ class Report;
*
* @author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT CoreBackendDevice
class CoreBackendDevice
{
public:
CoreBackendDevice(const QString& deviceNode);

View File

@ -21,7 +21,6 @@
#include "core/partitiontable.h"
#include "fs/filesystem.h"
#include "util/libpartitionmanagerexport.h"
#include <QtGlobal>
@ -33,7 +32,7 @@ class Partition;
* Interface class to represent a partition table in the backend.
* @author Volker Lanz <vl@fidra.de>
*/
class LIBKPMCORE_EXPORT CoreBackendPartitionTable
class CoreBackendPartitionTable
{
public:
virtual ~CoreBackendPartitionTable() {}

View File

@ -17,6 +17,7 @@ set (pmdummybackendplugin_SRCS
dummybackend.cpp
dummydevice.cpp
dummypartitiontable.cpp
${CMAKE_SOURCE_DIR}/src/backend/corebackenddevice.cpp
)
add_library(pmdummybackendplugin SHARED ${pmdummybackendplugin_SRCS})

View File

@ -29,6 +29,7 @@ set (pmlibpartedbackendplugin_SRCS
libpartedbackend.cpp
libparteddevice.cpp
libpartedpartitiontable.cpp
${CMAKE_SOURCE_DIR}/src/backend/corebackenddevice.cpp
)
add_library(pmlibpartedbackendplugin SHARED ${pmlibpartedbackendplugin_SRCS})

View File

@ -17,6 +17,7 @@ set (pmsfdiskbackendplugin_SRCS
sfdiskbackend.cpp
sfdiskdevice.cpp
sfdiskpartitiontable.cpp
${CMAKE_SOURCE_DIR}/src/backend/corebackenddevice.cpp
)
add_library(pmsfdiskbackendplugin SHARED ${pmsfdiskbackendplugin_SRCS})