codhandler/roapapp/inc/RoapAppData.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 CRoapAppData.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef ROAP_APP_DATA_H
       
    22 #define ROAP_APP_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 class CRoapAppData: 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 CRoapAppData* NewL();
       
    44 
       
    45         /**
       
    46         * Destructor.
       
    47         */
       
    48         virtual ~CRoapAppData();
       
    49 
       
    50     private:    // Constructors
       
    51 
       
    52         /**
       
    53         * Constructor.
       
    54         */
       
    55         CRoapAppData();
       
    56 
       
    57     public:     // data
       
    58 
       
    59         Roap::TTriggerType iType;                   ///< Trigger type.
       
    60         Roap::TRiContextStatus iContextStatus;      ///< Context status.
       
    61         Roap::TDomainOperation iDomainOperation;    ///< Domain operation.
       
    62         RPointerArray<HBufC8> iContentIdList;       ///< Content id list.
       
    63         HBufC8* iRiAlias;                           ///< RI alias or NULL. Own.
       
    64     };
       
    65 
       
    66 #endif /* def ROAP_APP_DATA_H */