summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdelibs/tdelibs-14.0.1.patch
blob: ab309f84166e7b20cde08667a52b87379a939b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h
index b5fddb8..1269c36 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.