radioengine/utils/src/cradiorepositoryentitybase.cpp
changeset 13 46974bebc798
child 28 075425b8d9a4
equal deleted inserted replaced
0:f3d95d9c00ab 13:46974bebc798
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cradiorepositoryentitybase.h"
       
    19 
       
    20 // ======== MEMBER FUNCTIONS ========
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 //
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 CRadioRepositoryEntityBase::CRadioRepositoryEntityBase( const TUid& aUid,
       
    27                                                         TUint32 aKey,
       
    28                                                         MRadioRepositoryEntityObserver& aObserver,
       
    29                                                         CActive::TPriority aPriority )
       
    30     : CActive( aPriority ), iObserver( aObserver ), iUid( aUid ), iKey( aKey )
       
    31     {
       
    32     }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 CRadioRepositoryEntityBase::~CRadioRepositoryEntityBase()
       
    39     {
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // Returns the UID of this entity.
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 const TUid& CRadioRepositoryEntityBase::Uid() const
       
    47     {
       
    48     return iUid;
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // Returns the key of this entity.
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 TUint32 CRadioRepositoryEntityBase::Key() const
       
    56     {
       
    57     return iKey;
       
    58     }