sipproviderplugins/sipprovider/sipconnectionplugins/inc/sipprovisioninfo.h
changeset 0 307788aac0a8
child 4 dd3853b8dc3f
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // SIP provision info class for both MCPR and CPR
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef SYMBIAN_SIPPROVISIONINFO_H
       
    24 #define SYMBIAN_SIPPROVISIONINFO_H
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <e32std.h>
       
    28 #include <comms-infras/metadata.h>
       
    29 #include <es_enum.h>
       
    30 #include "TransitionEngineMgr.h"
       
    31 
       
    32 class TSipMcprProvisionInfo : public CBase, public Meta::SMetaData 
       
    33 /** 
       
    34 @internalTechnology
       
    35 */
       
    36 	{
       
    37 public:
       
    38     //use the SipMCpr Factory Id as the id
       
    39     enum {ETypeId = 0, EUid = 0x200041F9};
       
    40     
       
    41     TSipMcprProvisionInfo()
       
    42     : iProfileId(0)
       
    43     	{
       
    44     	
       
    45     	}
       
    46     // There is nothing to free memory for this guy.
       
    47     // iTransitionEngineMgr will be freed by MCPR.
       
    48     ~TSipMcprProvisionInfo()
       
    49     {    	
       
    50     }
       
    51 	DATA_VTABLE
       
    52 	
       
    53 	TUint32	iProfileId;
       
    54 	TUid	iAppUid;
       
    55 	CTransitionEngineMgr*	iTransitionEngineMgr;
       
    56 	};
       
    57 	
       
    58 	
       
    59 class TSipCprProvisionInfo : public CBase, public Meta::SMetaData
       
    60 /** 
       
    61 @internalTechnology
       
    62 */
       
    63 	{
       
    64 public:
       
    65     //use the SipCpr Factory Id as the id
       
    66     enum {ETypeId = 0, EUid = 0x10274C38};
       
    67     
       
    68     TSipCprProvisionInfo()
       
    69     : iTransitionEngine(NULL)
       
    70     	{
       
    71     	
       
    72     	}   
       
    73     // No need to free the memory because the membres will be freed by TransitionEngine.
       
    74     ~TSipCprProvisionInfo()
       
    75     {    	
       
    76     }
       
    77 	DATA_VTABLE
       
    78 	CSIPTransitionEngine*	iTransitionEngine;
       
    79 	TDesC8*					iFromField;	
       
    80 	};	
       
    81 
       
    82 #endif