|
1 /* |
|
2 * Copyright (c) 2005 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 |
|
19 // USER INCLUDES |
|
20 #include "musengsession.h" |
|
21 #include "musengsessionobserver.h" |
|
22 #include "musengtelephoneutils.h" |
|
23 |
|
24 // SYSTEM INCLUDES |
|
25 |
|
26 //#include <e32cmn.h> |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CMusEngSession::~CMusEngSession() // destruct - virtual, so no export |
|
33 { |
|
34 } |
|
35 |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 EXPORT_C TRect CMusEngSession::Rect() const |
|
42 { |
|
43 return iRect; |
|
44 } |
|
45 |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 EXPORT_C void CMusEngSession::SetRectL( const TRect& aRect ) |
|
52 { |
|
53 iRect = aRect; |
|
54 User::LeaveIfError( iErrorCode ); |
|
55 } |
|
56 |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 // ----------------------------------------------------------------------------- |
|
61 // |
|
62 EXPORT_C void CMusEngSession::EnableLoudspeakerL( TBool aEnable, |
|
63 TBool aShowDialog ) |
|
64 { |
|
65 } |
|
66 |
|
67 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 // ----------------------------------------------------------------------------- |
|
71 // |
|
72 EXPORT_C TBool CMusEngSession::IsLoudSpeakerEnabled() const |
|
73 { |
|
74 } |
|
75 |
|
76 |
|
77 // ----------------------------------------------------------------------------- |
|
78 // |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 EXPORT_C TInt CMusEngSession::VolumeL() const |
|
82 { |
|
83 } |
|
84 |
|
85 |
|
86 // ----------------------------------------------------------------------------- |
|
87 // Increases CS call volume level by one. |
|
88 // Leaves if error occurs when accessing central repository. |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 EXPORT_C void CMusEngSession::VolumeUpL( ) |
|
92 { |
|
93 } |
|
94 |
|
95 |
|
96 // ----------------------------------------------------------------------------- |
|
97 // Decreases CS call volume level by one. |
|
98 // Leaves if error occurs when accessing central repository. |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 EXPORT_C void CMusEngSession::VolumeDownL( ) |
|
102 { |
|
103 } |
|
104 |
|
105 |
|
106 // ----------------------------------------------------------------------------- |
|
107 // |
|
108 // ----------------------------------------------------------------------------- |
|
109 // |
|
110 CMusEngSession::CMusEngSession( const TRect& aRect ) |
|
111 { |
|
112 iRect = aRect; |
|
113 } |
|
114 |
|
115 |
|
116 // ----------------------------------------------------------------------------- |
|
117 // |
|
118 // ----------------------------------------------------------------------------- |
|
119 // |
|
120 void CMusEngSession::ConstructL() // second-phase constructor |
|
121 { |
|
122 iErrorCode = KErrNone; |
|
123 } |
|
124 |
|
125 |