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.