diff -r 000000000000 -r 307788aac0a8 sipproviderplugins/sipprovider/sipconnectionplugins/inc/sipprovisioninfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sipproviderplugins/sipprovider/sipconnectionplugins/inc/sipprovisioninfo.h Tue Feb 02 01:03:15 2010 +0200 @@ -0,0 +1,82 @@ +// 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: +// SIP provision info class for both MCPR and CPR +// +// + +/** + @file + @internalComponent +*/ + +#ifndef SYMBIAN_SIPPROVISIONINFO_H +#define SYMBIAN_SIPPROVISIONINFO_H + +#include +#include +#include +#include +#include "TransitionEngineMgr.h" + +class TSipMcprProvisionInfo : public CBase, public Meta::SMetaData +/** +@internalTechnology +*/ + { +public: + //use the SipMCpr Factory Id as the id + enum {ETypeId = 0, EUid = 0x200041F9}; + + TSipMcprProvisionInfo() + : iProfileId(0) + { + + } + // There is nothing to free memory for this guy. + // iTransitionEngineMgr will be freed by MCPR. + ~TSipMcprProvisionInfo() + { + } + DATA_VTABLE + + TUint32 iProfileId; + TUid iAppUid; + CTransitionEngineMgr* iTransitionEngineMgr; + }; + + +class TSipCprProvisionInfo : public CBase, public Meta::SMetaData +/** +@internalTechnology +*/ + { +public: + //use the SipCpr Factory Id as the id + enum {ETypeId = 0, EUid = 0x10274C38}; + + TSipCprProvisionInfo() + : iTransitionEngine(NULL) + { + + } + // No need to free the memory because the membres will be freed by TransitionEngine. + ~TSipCprProvisionInfo() + { + } + DATA_VTABLE + CSIPTransitionEngine* iTransitionEngine; + TDesC8* iFromField; + }; + +#endif \ No newline at end of file