ncdengine/provider/protocol/inc/ncd_pp_embeddeddataimpl.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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:   CNcdPreminetProtocolEmbeddedDataImpl declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_PREMINET_PROTOCOL_EMBEDDEDDATA_IMPL_H
       
    20 #define NCD_PREMINET_PROTOCOL_EMBEDDEDDATA_IMPL_H
       
    21 
       
    22 
       
    23 #include "ncd_pp_embeddeddata.h"
       
    24 
       
    25 class MNcdPreminetProtocolDataEntity;
       
    26 class CNcdPreminetProtocolDataEntityImpl;
       
    27 
       
    28 class CNcdPreminetProtocolEmbeddedDataImpl : 
       
    29     public CBase, public MNcdPreminetProtocolEmbeddedData
       
    30     {
       
    31 public:
       
    32     static CNcdPreminetProtocolEmbeddedDataImpl* NewL();
       
    33     static CNcdPreminetProtocolEmbeddedDataImpl* NewLC();
       
    34     virtual ~CNcdPreminetProtocolEmbeddedDataImpl();
       
    35     void ConstructL();
       
    36 public: // From MNcdProtocolElementEntityRef
       
    37     const TDesC& ParentId() const;
       
    38     const TDesC& Id() const;
       
    39     const TDesC& TimeStamp() const;
       
    40     const TDesC& NameSpace() const;
       
    41     const TDesC& Name() const;
       
    42     TInt DataEntityCount() const;
       
    43     const MNcdPreminetProtocolDataEntity& DataEntityL(TInt aIndex) const;
       
    44     
       
    45 public:
       
    46     HBufC* iParentId;
       
    47     HBufC* iId;
       
    48     HBufC* iTimeStamp;
       
    49     HBufC* iNameSpace;
       
    50     HBufC* iName;
       
    51     RPointerArray<MNcdPreminetProtocolDataEntity> iDataEntities;
       
    52     };
       
    53 
       
    54 #endif //NCD_PREMINET_PROTOCOL_EMBEDDEDDATA_IMPL_H