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>
pull/56/head
François Andriot 5 years ago committed by Slávek Banko
parent 38b2b0be78
commit 82e214c84f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -25,8 +25,10 @@ class KCharsets;
class TDEConfig; class TDEConfig;
class TDESharedConfig; class TDESharedConfig;
class TDEIconLoader; class TDEIconLoader;
#ifdef __TDE_HAVE_TDEHWLIB
class TDEHardwareDevices; class TDEHardwareDevices;
class TDEGlobalNetworkManager; class TDEGlobalNetworkManager;
#endif
class TDELocale; class TDELocale;
class TDEStandardDirs; class TDEStandardDirs;
class KStaticDeleterBase; class KStaticDeleterBase;
@ -79,6 +81,7 @@ public:
*/ */
static TDEIconLoader *iconLoader(); static TDEIconLoader *iconLoader();
#ifdef __TDE_HAVE_TDEHWLIB
/** /**
* Returns a TDEHardwareDevices object. * Returns a TDEHardwareDevices object.
* @return the global hardware devices object * @return the global hardware devices object
@ -90,6 +93,7 @@ public:
* @return the global network manager object * @return the global network manager object
*/ */
static TDEGlobalNetworkManager *networkManager(); static TDEGlobalNetworkManager *networkManager();
#endif
/** /**
* Returns the global locale object. * Returns the global locale object.

Loading…
Cancel
Save