codhandler/codeng/inc/RoapData.h
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 *      Declaration of class CRoapData.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef ROAP_DATA_H
       
    22 #define ROAP_DATA_H
       
    23 
       
    24 // INCLUDES
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <RoapEng.h>
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * ROAP data container.
       
    33 */
       
    34 NONSHARABLE_CLASS( CRoapData ): public CBase
       
    35     {
       
    36 
       
    37     public:     // Constructors and destructor
       
    38 
       
    39         /**
       
    40         * Two-phased constructor. Leaves on failure.
       
    41         * @return The created model.
       
    42         */
       
    43         static CRoapData* NewL();
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         virtual ~CRoapData();
       
    49 
       
    50     public:     // new methods
       
    51     
       
    52         /**
       
    53         * Reset.
       
    54         */
       
    55         void Reset();
       
    56 
       
    57     private:    // Constructors
       
    58 
       
    59         /**
       
    60         * Constructor.
       
    61         */
       
    62         CRoapData();
       
    63 
       
    64     public:     // data
       
    65 
       
    66         Roap::TTriggerType iType;                   ///< Trigger type.
       
    67         Roap::TRiContextStatus iContextStatus;      ///< Context status.
       
    68         Roap::TDomainOperation iDomainOperation;    ///< Domain operation.
       
    69         RPointerArray<HBufC8> iContentIdList;       ///< Content id list.
       
    70         HBufC8* iRiAlias;                           ///< RI alias or NULL. Own.
       
    71     };
       
    72 
       
    73 #endif /* def ROAP_DATA_H */