summaryrefslogtreecommitdiffstats
path: root/libk3bdevice
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-05-03 23:28:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-04 23:37:02 +0900
commit804f6a4d46fa519558a321c4f86c72fd11610759 (patch)
tree46b2b6409117d9daf8e4f6bae21cc4c2834686e8 /libk3bdevice
parentcc51bb4eb48522433b14b1e584dd5dbdb9a0969e (diff)
downloadk3b-804f6a4d46fa519558a321c4f86c72fd11610759.tar.gz
k3b-804f6a4d46fa519558a321c4f86c72fd11610759.zip
Fixed FTBFS when building without tdehw lib but with HAL enabled.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'libk3bdevice')
-rw-r--r--libk3bdevice/CMakeLists.txt2
-rw-r--r--libk3bdevice/k3bhalconnection.cpp15
2 files changed, 16 insertions, 1 deletions
diff --git a/libk3bdevice/CMakeLists.txt b/libk3bdevice/CMakeLists.txt
index cfb0e29..90c13ed 100644
--- a/libk3bdevice/CMakeLists.txt
+++ b/libk3bdevice/CMakeLists.txt
@@ -31,7 +31,7 @@ tde_add_library( k3bdevice SHARED AUTOMOC
k3bdeviceglobals.cpp k3bcrc.cpp k3bcdtext.cpp k3bhalconnection.cpp
k3bdebug.cpp
VERSION 5.0.0
- LINK tdecore-shared
+ LINK tdecore-shared ${HAL_LIBRARIES} ${DBUS_TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/libk3bdevice/k3bhalconnection.cpp b/libk3bdevice/k3bhalconnection.cpp
index 396237e..9111469 100644
--- a/libk3bdevice/k3bhalconnection.cpp
+++ b/libk3bdevice/k3bhalconnection.cpp
@@ -612,6 +612,21 @@ void K3bDevice::HalConnection::setupDBusTQtConnection( DBusConnection* dbusConne
d->dBusTQtConnection->dbus_connection_setup_with_qt_main( dbusConnection );
}
+void K3bDevice::HalConnection::AddDeviceHandler(TDEGenericDevice* hwdevice)
+{
+ // Empty body, only to avoid linking errors
+}
+
+void K3bDevice::HalConnection::RemoveDeviceHandler(TDEGenericDevice* hwdevice)
+{
+ // Empty body, only to avoid linking errors
+}
+
+void K3bDevice::HalConnection::ModifyDeviceHandler(TDEGenericDevice* hwdevice)
+{
+ // Empty body, only to avoid linking errors
+}
+
#else // HAVE_HAL
#ifdef __TDE_HAVE_TDEHWLIB