ncdengine/provider/deviceinteraction/inc/ncdwidgetregistrydata.h
branchRCL_3
changeset 18 3ba40be8e484
child 65 7333d7932ef7
equal deleted inserted replaced
15:51c0f5edf5ef 18:3ba40be8e484
       
     1 /*
       
     2 * Copyright (c) 2010 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:   Declaration of CExtendedWidgetInfo
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef NCDEXTENDEDWIDGETINFO_H
       
    19 #define NCDEXTENDEDWIDGETINFO_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <f32file.h>
       
    23 #include <widgetregistryclient.h>
       
    24 #include "catalogsutils.h"
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // FUNCTION PROTOTYPES
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 class CExtendedWidgetInfo : public CBase
       
    39     {
       
    40     public:
       
    41         /**
       
    42         * Constructor
       
    43         */
       
    44         inline CExtendedWidgetInfo()
       
    45             {
       
    46             iUid = TUid::Uid(0);
       
    47             iVersion = HBufC::New( KWidgetRegistryVal + 1 );
       
    48             
       
    49             }
       
    50         /**
       
    51         * Destructor.
       
    52         */
       
    53         inline virtual ~CExtendedWidgetInfo()
       
    54             {
       
    55             delete iVersion;
       
    56             }
       
    57 
       
    58     public:
       
    59         TUid             iUid;
       
    60         HBufC*           iVersion;
       
    61     };
       
    62 
       
    63 typedef RPointerArray<CExtendedWidgetInfo>  RExtendedWidgetInfoArray;
       
    64 
       
    65 #endif  //NCDEXTENDEDWIDGETINFO