diff -r bb2423252ea3 -r c1029e558ef5 networksecurity/ipsec/te_ipsec_selector_confilict/inc/te_ipsec_load_policy_base.h --- a/networksecurity/ipsec/te_ipsec_selector_confilict/inc/te_ipsec_load_policy_base.h Wed Sep 15 13:53:10 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +0,0 @@ -// Copyright (c) 2002-2009 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: -// Connection Test Step Header -// -// - -/** - @file -*/ -#ifndef __TEF_IPSEC_LOAD_POLICY_BASE__ -#define __TEF_IPSEC_LOAD_POLICY_BASE__ - - -//system includes here -#include - -//local includes here -//--------------------------------------------------------------------------- -class CT_IPSec_Load_Policy_Base : public CDataWrapper -{ -public: - virtual ~CT_IPSec_Load_Policy_Base() - { - delete iObject; - iObject = NULL; - } - - CT_IPSec_Load_Policy_Base(): iObject(NULL) - { - - } - - virtual TAny* GetObject() { return iObject; } - - virtual void SetObjectL(TAny* aObject) - { - DestroyData(); - iObject = static_cast (aObject); - } - - virtual void DisownObjectL() - { - iObject = NULL; - } - - void DestroyData() - { - delete iObject; - iObject=NULL; - } - -protected: - - virtual void DoDelay(const TDesC& /*aSection*/) {}; - virtual TBool DoCommandL(const TTEFFunction& /* aCommand */, const TTEFSectionName& /*aSection*/, const TInt /*aAsyncErrorIndex*/){return ETrue;} - - /* - *Execute the test (test case code). - */ - virtual void DoCmdTestConnection(const TDesC& /*aSection*/){}; - - /* - *Execute the test for sending data(test case code). - */ - virtual void DoCmdSendPacket(const TDesC& /*aSection*/){}; - -protected : - TInt* iObject; - -public : - virtual void StopWaiting(){}; -}; - -#endif//__TEF_IPSEC_LOAD_POLICY_BASE__ -