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 #include "cradioenginelogger.h" |
|
20 |
|
21 // ======== MEMBER FUNCTIONS ======== |
|
22 |
|
23 // --------------------------------------------------------------------------- |
|
24 // |
|
25 // --------------------------------------------------------------------------- |
|
26 // |
|
27 EXPORT_C CRadioRepositoryEntityBase::CRadioRepositoryEntityBase( const TUid& aUid, |
|
28 TUint32 aKey, |
|
29 MRadioRepositoryEntityObserver& aObserver, |
|
30 CActive::TPriority aPriority ) |
|
31 : CActive( aPriority ), iObserver( aObserver ), iUid( aUid ), iKey( aKey ) |
|
32 { |
|
33 LEVEL3( LOG_METHOD_AUTO ); |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------------------------- |
|
37 // |
|
38 // --------------------------------------------------------------------------- |
|
39 // |
|
40 EXPORT_C CRadioRepositoryEntityBase::~CRadioRepositoryEntityBase() |
|
41 { |
|
42 LEVEL3( LOG_METHOD_AUTO ); |
|
43 } |
|
44 |
|
45 // --------------------------------------------------------------------------- |
|
46 // Returns the UID of this entity. |
|
47 // --------------------------------------------------------------------------- |
|
48 // |
|
49 const TUid& CRadioRepositoryEntityBase::Uid() const |
|
50 { |
|
51 return iUid; |
|
52 } |
|
53 |
|
54 // --------------------------------------------------------------------------- |
|
55 // Returns the key of this entity. |
|
56 // --------------------------------------------------------------------------- |
|
57 // |
|
58 TUint32 CRadioRepositoryEntityBase::Key() const |
|
59 { |
|
60 LEVEL3( LOG_METHOD_AUTO ); |
|
61 return iKey; |
|
62 } |
|