--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/suplsmshandler/test/testserver/src/Te_SuplWdpWatcher.h Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,62 @@
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// A test wrapper over the CSuplWdpWatcher class.
+//
+//
+
+#if (!defined __TE_LBSSUPLWDPWATCHER__)
+#define __TE_LBSSUPLWDPWATCHER__
+
+#include "LbsSuplWdpWatcher.h"
+
+/**
+A test wrapper over the CSuplWdpWatcher class.
+
+@see CSuplWdpWatcher
+*/
+class CTe_LbsSuplWdpWatcher : public CLbsSuplWdpWatcher
+ {
+private:
+ /** The flag for enabling/disabling asserts for the CLbsSuplWdpWatcher class */
+ static TBool iEnableAsserts;
+
+public:
+ inline static TBool AssertsEnabled();
+ inline static void EnableAsserts();
+ inline static void DisableAsserts();
+
+private:
+ //This constructor is only for avoiding gcce error
+ CTe_LbsSuplWdpWatcher(TInt aPriority, CWatcherLog& aLog) :
+ CLbsSuplWdpWatcher(aPriority, aLog){};
+
+ };
+
+
+inline TBool CTe_LbsSuplWdpWatcher::AssertsEnabled()
+ {
+ return iEnableAsserts;
+ }
+
+inline void CTe_LbsSuplWdpWatcher::EnableAsserts()
+ {
+ iEnableAsserts = ETrue;
+ }
+
+inline void CTe_LbsSuplWdpWatcher::DisableAsserts()
+ {
+ iEnableAsserts = EFalse;
+ }
+
+#endif //__TE_LBSSUPLWDPWATCHER__