--- a/networksecurity/ipsec/te_ipsec_selector_confilict/inc/te_loadpolicy_bbd.h Wed Sep 15 13:53:10 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
-* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Symbian Foundation License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-/**
- * @file ts_ipsec_crypto.h header file for main test code for IPsec
- */
-
-#if (!defined __TEF_IPSEC_LOADPOLICY_BDD_H__)
-#define __TEF_IPSEC_LOADPOLICY_BDD_H__
-
-
-//local includes here
-#include "ipsecpolapi.h"
-#include "te_IPSec_Load_Policy_Base.h"
-
-
-/**
- * This class is to test the policy loading in the order of Bypasss policy,Drop Policy, Drop Policy
- *
- */
-
-class CT_LoadPolicyBBD : public CT_IPSec_Load_Policy_Base
- {
-public:
- CT_LoadPolicyBBD();
- ~CT_LoadPolicyBBD();
-
- static CT_LoadPolicyBBD* NewL();
- virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
- virtual TCleanupOperation CleanupOperation()
- {
- return CleanupOperation;
- }
-
-protected:
- void ConstructL();
-
-private:
- static void CleanupOperation(TAny* aAny)
- {
- TInt* number = static_cast<TInt*>(aAny);
- delete number;
- }
-
- inline void DoCmdNewL(const TDesC& aEntry);
- void DoLoadBypassModePolicy(const TDesC& aSection);
- void DoCmdClose(const TDesC& /*aSection*/);
- void DoUnloadBypassPolicy(const TDesC& /*aSection*/);
- void DoUnloadDropPolicy(const TDesC& /*aSection*/);
- void DoLoadDropModePolicy(const TDesC& /*aSection*/);
- void DoLoadNewBypassModePolicy(const TDesC& /*aSection*/);
- void DoUnloadNewBypassPolicy(const TDesC& /*aSection*/);
-
-protected:
-
- TZoneInfoSet iMyZoneInfoSet;
- RIpsecPolicyServ iDrpPolicyServer;
- TPolicyHandlePckg iDrpPolicyHandle;
- RIpsecPolicyServ iBypsPolicyServer;
- TPolicyHandlePckg iBypsPolicyHandle;
- TPolicyHandlePckg iNewBypsPolicyHandle;
- };
-
-#endif //__TEF_IPSEC_LOADPOLICY_BDD_H__