diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-06-14 04:00:26 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-14 04:00:26 +0200 |
commit | c0e6e0eddc721f28a273c15688db0c6f46ed78e1 (patch) | |
tree | 53d5e75a434fb3550f9f19f3ae549e6ae9892fd1 /kmail/kmkernel.h | |
parent | b9afd6f70a65f69a0508144007abac785a0eaa9c (diff) | |
download | tdepim-c0e6e0eddc721f28a273c15688db0c6f46ed78e1.tar.gz tdepim-c0e6e0eddc721f28a273c15688db0c6f46ed78e1.zip |
Fix FTBFS when build without tdehw-lib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmail/kmkernel.h')
-rw-r--r-- | kmail/kmkernel.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/kmail/kmkernel.h b/kmail/kmkernel.h index 0dc46441e..610ab4768 100644 --- a/kmail/kmkernel.h +++ b/kmail/kmkernel.h @@ -9,12 +9,20 @@ #include <weaver.h> #include <weaverlogger.h> +#include <kdemacros.h> #include <tdeconfig.h> #include <tdeversion.h> #include <tdeimproxy.h> #include <tdepimmacros.h> -#include <tdenetworkconnections.h> +#ifdef __TDE_HAVE_TDEHWLIB +# include <tdenetworkconnections.h> +#else +namespace TDENetworkConnectionStatus { + enum TDENetworkConnectionStatus { + }; +} +#endif #include "kmailIface.h" #include "kmmsgbase.h" @@ -527,7 +535,9 @@ private: TQString mAddMessageLastFolder; KMFolder *mAddMsgCurrentFolder; +#ifdef __TDE_HAVE_TDEHWLIB TDEGlobalNetworkManager *mNetworkManager; +#endif }; #endif |