ncdengine/provider/server/inc/ncdnodesupplierlink.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:   Contains CNcdNodeSupplierLink class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCDNODESUPPLIERLINK_H
       
    20 #define NCDNODESUPPLIERLINK_H
       
    21 
       
    22 
       
    23 #include "ncdnodelink.h"
       
    24 #include "ncdnodeclassids.h"
       
    25 
       
    26 class CNcdNodeSupplierLink : public CNcdNodeLink
       
    27 {
       
    28 public:
       
    29     
       
    30     /**
       
    31      * NewL
       
    32      *
       
    33      * @param aNode The node that owns this link.
       
    34      * @return CNcdNodeItemLink* Pointer to the created object 
       
    35      * of this class.
       
    36      */
       
    37     static CNcdNodeSupplierLink* NewL( CNcdNode& aNode );
       
    38 
       
    39     /**
       
    40      * NewLC
       
    41      *
       
    42      * @param aNode The node that owns this link.
       
    43      * @return CNcdNodeItemLink* Pointer to the created object 
       
    44      * of this class.
       
    45      */
       
    46     static CNcdNodeSupplierLink* NewLC( CNcdNode& aNode );
       
    47 
       
    48 
       
    49     /**
       
    50      * Destructor
       
    51      */
       
    52     virtual ~CNcdNodeSupplierLink();
       
    53     
       
    54 
       
    55 public: // CNcdNodeLink
       
    56 
       
    57     /**
       
    58      * @see CNcdNodeLink::InternalizeL
       
    59      */
       
    60     virtual void InternalizeL( const MNcdPreminetProtocolEntityRef& aData,
       
    61                                const CNcdNodeIdentifier& aParentIdentifier,
       
    62                                const CNcdNodeIdentifier& aRequestParentIdentifier );
       
    63                                
       
    64 protected:
       
    65 
       
    66     /**
       
    67      * Constructor.
       
    68      */
       
    69     CNcdNodeSupplierLink(
       
    70         CNcdNode& aNode,
       
    71         NcdNodeClassIds::TNcdNodeClassId aClassId = NcdNodeClassIds::ENcdSupplierNodeLinkClassId );
       
    72                       
       
    73 private:
       
    74 
       
    75     // Prevent these two if they are not implemented
       
    76     CNcdNodeSupplierLink( const CNcdNodeSupplierLink& aObject );
       
    77     CNcdNodeSupplierLink& operator =( const CNcdNodeSupplierLink& aObject );
       
    78                                                           
       
    79 };
       
    80 
       
    81 #endif // NCDNODESUPPLIERLINK_H