diff options
author | Slávek Banko <[email protected]> | 2021-05-07 03:36:45 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-05-07 03:36:45 +0200 |
commit | c7b651a6ca408afe6dbf22e782fa1b3bca8468d0 (patch) | |
tree | b82b2222f7b154fe15054e224c4f942c2e1efea2 /tdecore/tdehw/tdehardwaredevices.cpp | |
parent | 44ad33926031a2aae1c515488fc2eded94fd6c8f (diff) | |
download | tdelibs-c7b651a6ca408afe6dbf22e782fa1b3bca8468d0.tar.gz tdelibs-c7b651a6ca408afe6dbf22e782fa1b3bca8468d0.zip |
Build tdehw library as a standalone library.
This causes tdecore API change!
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 28a0f44d2..441db942d 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -119,6 +119,13 @@ unsigned int reverse_bits(unsigned int x) // Helper function implemented in tdestoragedevice.cpp TQString decodeHexEncoding(TQString str); +extern "C" { + KDE_EXPORT TDEHardwareDevices* create_tdeHardwareDevices() + { + return new TDEHardwareDevices(); + } +} + TDEHardwareDevices::TDEHardwareDevices() { // Initialize members pci_id_map = 0; |