VOOZH about

URL: https://git.trinitydesktop.org/cgit/kima/commit/?id=aeb4b529

⇱ Small improvement on code for building without tdehw. - kima - Kima – Kicker monitoring applet


👁 cgit logo
index : kima
Kima – Kicker monitoring applet TDE Gitea Workspace
summaryrefslogtreecommitdiffstats
diff options
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-05-02 20:03:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-02 20:03:24 +0900
commitaeb4b5292f62d0e3808ec37944c0573b1a20e0dd (patch)
tree3fb189bd2a44f6cafce74b16aba03cdd5c0434fe
parentf673e8b30691e33aed7d052525a02002c232e393 (diff)
downloadkima-aeb4b529.tar.gz
kima-aeb4b529.zip
Small improvement on code for building without tdehw.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0d040704e12208aa4a6baf2788dabe2e8bff607c)
Diffstat
-rw-r--r--src/sources/batterysrc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sources/batterysrc.h b/src/sources/batterysrc.h
index a61883c..bcd805f 100644
--- a/src/sources/batterysrc.h
+++ b/src/sources/batterysrc.h
@@ -26,7 +26,12 @@
#include <tqstring.h>
#include <list>
+#ifdef __TDE_HAVE_TDEHWLIB
class TDEHardwareDevices;
+#else
+#define TDEHardwareDevices void
+#endif
+
/**
* BatterySrc fetches the state of charge of the battery from HAL
* @author Ken Werner
generated by cgit v1.2.3 (git 2.46.0) at 2026-06-29 01:36:55 +0000