summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2019-12-04 20:04:40 +0100
committerSlávek Banko <[email protected]>2019-12-04 20:04:40 +0100
commit82e214c84f333e6b22093ab8ff5afe53aa732cc8 (patch)
tree5133bf7ef90bedc51fe2cd83abc9cc4f3b08902f /tdecore
parent38b2b0be7840d868c21093a406ab98a646212de1 (diff)
downloadtdelibs-82e214c84f333e6b22093ab8ff5afe53aa732cc8.tar.gz
tdelibs-82e214c84f333e6b22093ab8ff5afe53aa732cc8.zip
Fix FTBFS for build without tdehwlib.
Signed-off-by: François Andriot <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdeglobal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h
index b5fddb834..1269c36a9 100644
--- a/tdecore/tdeglobal.h
+++ b/tdecore/tdeglobal.h
@@ -25,8 +25,10 @@ class KCharsets;
class TDEConfig;
class TDESharedConfig;
class TDEIconLoader;
+#ifdef __TDE_HAVE_TDEHWLIB
class TDEHardwareDevices;
class TDEGlobalNetworkManager;
+#endif
class TDELocale;
class TDEStandardDirs;
class KStaticDeleterBase;
@@ -79,6 +81,7 @@ public:
*/
static TDEIconLoader *iconLoader();
+#ifdef __TDE_HAVE_TDEHWLIB
/**
* Returns a TDEHardwareDevices object.
* @return the global hardware devices object
@@ -90,6 +93,7 @@ public:
* @return the global network manager object
*/
static TDEGlobalNetworkManager *networkManager();
+#endif
/**
* Returns the global locale object.