summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2019-12-04 20:04:40 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-12-04 20:04:56 +0100
commitc35e6e8cce1ba1cb08ab00132cecefb60fa6969d (patch)
treecd1b0aa02be719060057f222d8a9a544f50f3925 /tdecore
parenteaf53f100d36168c87ca1ee354a263e6ece14e5e (diff)
downloadtdelibs-c35e6e8cce1ba1cb08ab00132cecefb60fa6969d.tar.gz
tdelibs-c35e6e8cce1ba1cb08ab00132cecefb60fa6969d.zip
Fix FTBFS for build without tdehwlib.
Signed-off-by: François Andriot <francois.andriot@free.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 82e214c84f333e6b22093ab8ff5afe53aa732cc8)
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.