ximpfw/core/srcdatamodel/ximptypehelpers.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2006 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 "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:  Typedef helpers for really long typenames.
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef XIMPTYPEHELPERS_H
       
    19 #define XIMPTYPEHELPERS_H
       
    20 
       
    21 #include "ximpapiobjbase.h"
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 class CXIMPIdentityImp;
       
    26 class CXIMPApiDataObjBase;
       
    27 
       
    28 // Key for opening up the typedefs:
       
    29 //
       
    30 // R(Xyz)Array = RXIMPObjOwningPtrArray<xyz>
       
    31 //
       
    32 // When adding new types, follow these conventions.
       
    33 //
       
    34 
       
    35 typedef RXIMPObjOwningPtrArray<CXIMPIdentityImp> RPrIdImpArray;
       
    36 
       
    37 
       
    38 struct SXIMPReqParam
       
    39     {
       
    40     CXIMPApiDataObjBase* iParam;
       
    41     TInt iParamType;
       
    42     };
       
    43 
       
    44 typedef RArray<SXIMPReqParam> RPrReqParamArray;
       
    45 
       
    46 #endif // XIMPTYPEHELPERS_H
       
    47 
       
    48