27 // ----------------------------------------------------------------------------- |
28 // ----------------------------------------------------------------------------- |
28 // |
29 // |
29 EXPORT_C CRadioUtility* CRadioUtility::NewL( |
30 EXPORT_C CRadioUtility* CRadioUtility::NewL( |
30 TBool aPrimaryClient ) |
31 TBool aPrimaryClient ) |
31 { |
32 { |
|
33 FUNC_LOG; |
32 CRadioUtility* self = new(ELeave) CRadioUtility(); |
34 CRadioUtility* self = new(ELeave) CRadioUtility(); |
33 CleanupStack::PushL(self); |
35 CleanupStack::PushL(self); |
34 self->iBody = CRadioUtility::CBody::NewL(aPrimaryClient); |
36 self->iBody = CRadioUtility::CBody::NewL(aPrimaryClient); |
35 CleanupStack::Pop(); |
37 CleanupStack::Pop(self); |
36 return self; |
38 return self; |
37 } |
39 } |
38 |
40 |
39 // ----------------------------------------------------------------------------- |
41 // ----------------------------------------------------------------------------- |
40 // Destructor. |
42 // Destructor. |
41 // ----------------------------------------------------------------------------- |
43 // ----------------------------------------------------------------------------- |
42 // |
44 // |
43 EXPORT_C CRadioUtility::~CRadioUtility() |
45 EXPORT_C CRadioUtility::~CRadioUtility() |
44 { |
46 { |
|
47 FUNC_LOG; |
45 delete iBody; |
48 delete iBody; |
46 } |
49 } |
47 |
50 |
48 // ----------------------------------------------------------------------------- |
51 // ----------------------------------------------------------------------------- |
49 // CRadioUtility::CRadioUtility |
52 // CRadioUtility::CRadioUtility |
50 // (other items were commented in a header). |
53 // (other items were commented in a header). |
51 // ----------------------------------------------------------------------------- |
54 // ----------------------------------------------------------------------------- |
52 // |
55 // |
53 CRadioUtility::CRadioUtility() |
56 CRadioUtility::CRadioUtility() |
54 { |
57 { |
|
58 FUNC_LOG; |
55 } |
59 } |
56 |
60 |
57 // ----------------------------------------------------------------------------- |
61 // ----------------------------------------------------------------------------- |
58 // CRadioUtility::RadioFmTunerUtilityL |
62 // CRadioUtility::RadioFmTunerUtilityL |
59 // (other items were commented in a header). |
63 // (other items were commented in a header). |
60 // ----------------------------------------------------------------------------- |
64 // ----------------------------------------------------------------------------- |
61 // |
65 // |
62 EXPORT_C CRadioFmTunerUtility& CRadioUtility::RadioFmTunerUtilityL( |
66 EXPORT_C CRadioFmTunerUtility& CRadioUtility::RadioFmTunerUtilityL( |
63 MRadioFmTunerObserver& aObserver ) |
67 MRadioFmTunerObserver& aObserver ) |
64 { |
68 { |
|
69 FUNC_LOG; |
65 ASSERT(iBody); |
70 ASSERT(iBody); |
66 return iBody->RadioFmTunerUtilityL(aObserver); |
71 return iBody->RadioFmTunerUtilityL(aObserver); |
67 } |
72 } |
68 |
73 |
69 // ----------------------------------------------------------------------------- |
74 // ----------------------------------------------------------------------------- |
72 // ----------------------------------------------------------------------------- |
77 // ----------------------------------------------------------------------------- |
73 // |
78 // |
74 EXPORT_C CRadioPlayerUtility& CRadioUtility::RadioPlayerUtilityL( |
79 EXPORT_C CRadioPlayerUtility& CRadioUtility::RadioPlayerUtilityL( |
75 MRadioPlayerObserver& aObserver ) |
80 MRadioPlayerObserver& aObserver ) |
76 { |
81 { |
|
82 FUNC_LOG; |
77 ASSERT(iBody); |
83 ASSERT(iBody); |
78 return iBody->RadioPlayerUtilityL(aObserver); |
84 return iBody->RadioPlayerUtilityL(aObserver); |
79 } |
85 } |
80 |
86 |
81 // ----------------------------------------------------------------------------- |
87 // ----------------------------------------------------------------------------- |