codhandler/roapapp/src/RoapAppData.cpp
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *      Implementation of class CRoapAppData.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 
       
    23 #include "RoapAppData.h"
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CRoapAppData::NewL()
       
    29 // ---------------------------------------------------------
       
    30 //
       
    31 CRoapAppData* CRoapAppData::NewL()
       
    32     {
       
    33     return new (ELeave) CRoapAppData();
       
    34     }
       
    35     
       
    36 // ---------------------------------------------------------
       
    37 // CRoapAppData::~CRoapAppData()
       
    38 // ---------------------------------------------------------
       
    39 //
       
    40 CRoapAppData::~CRoapAppData()
       
    41     {
       
    42     iContentIdList.ResetAndDestroy();
       
    43     iContentIdList.Close();
       
    44     delete iRiAlias;
       
    45     }
       
    46 
       
    47 // ---------------------------------------------------------
       
    48 // CRoapAppData::CRoapAppData()
       
    49 // ---------------------------------------------------------
       
    50 //
       
    51 CRoapAppData::CRoapAppData()
       
    52 : iType( Roap::ERegistrationTrigger ),
       
    53   iContextStatus( Roap::EInvalidContext ),
       
    54   iDomainOperation( Roap::ENotDomainOperation )
       
    55     {
       
    56     }