|
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: ?Description |
|
15 * Name : mussettingskeys.h |
|
16 |
|
17 * Version : %version: 9 % << Don't touch! Updated by Synergy at check-out. |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef MUSSETTINGS_H |
|
23 #define MUSSETTINGS_H |
|
24 |
|
25 #include "mussettingskeys.h" |
|
26 |
|
27 /** |
|
28 * A namespace container for MultimediaSharing Settings API constants. |
|
29 */ |
|
30 class MultimediaSharingSettings |
|
31 { |
|
32 public: |
|
33 /** |
|
34 * Returns current MS activation setting. |
|
35 * |
|
36 * @return Current MS activation setting. |
|
37 */ |
|
38 static MusSettingsKeys::TActivation ActivationSettingL(); |
|
39 |
|
40 /** |
|
41 * Sets the MS activation setting |
|
42 * |
|
43 * @param |
|
44 */ |
|
45 static void SetActivationSettingL( MusSettingsKeys::TActivation aActivationSetting ); |
|
46 |
|
47 /** |
|
48 * Returns |
|
49 * |
|
50 * @return |
|
51 */ |
|
52 static MusSettingsKeys::TOperatorVariant |
|
53 MultimediaSharingSettings::OperatorVariantSettingL(); |
|
54 |
|
55 /** |
|
56 * Sets |
|
57 * |
|
58 * @param |
|
59 */ |
|
60 static void MultimediaSharingSettings::SetOperatorVariantSettingL( |
|
61 MusSettingsKeys::TOperatorVariant aVariantSetting ); |
|
62 |
|
63 /** |
|
64 * Returns |
|
65 * |
|
66 * @return |
|
67 */ |
|
68 static MusSettingsKeys::TAuditoryNotification AuditoryNotificationSettingL(); |
|
69 |
|
70 /** |
|
71 * Sets |
|
72 * |
|
73 * @param |
|
74 */ |
|
75 static void SetAuditoryNotificationSettingL( |
|
76 MusSettingsKeys::TAuditoryNotification aNotificationSetting ); |
|
77 |
|
78 /** |
|
79 * Returns |
|
80 * |
|
81 * @return |
|
82 */ |
|
83 static MusSettingsKeys::TEdgeDtmSupport EdgeDtmSupportSettingL(); |
|
84 |
|
85 /** |
|
86 * Sets |
|
87 * |
|
88 * @param |
|
89 */ |
|
90 static void SetEdgeDtmSupportSettingL( |
|
91 MusSettingsKeys::TEdgeDtmSupport aSetting ); |
|
92 |
|
93 /** |
|
94 * Returns |
|
95 * |
|
96 * @return |
|
97 */ |
|
98 static MusSettingsKeys::TForceInternetSignaling ForceInternetSignalingSettingL(); |
|
99 |
|
100 /** |
|
101 * Sets |
|
102 * |
|
103 * @param |
|
104 */ |
|
105 static void SetForceInternetSignalingSettingL( |
|
106 MusSettingsKeys::TForceInternetSignaling aSetting ); |
|
107 |
|
108 /** |
|
109 * Returns |
|
110 * |
|
111 * @return |
|
112 */ |
|
113 static MusSettingsKeys::TAutoRecord AutoRecordSettingL(); |
|
114 |
|
115 /** |
|
116 * Sets |
|
117 * |
|
118 * @param |
|
119 */ |
|
120 static void SetAutoRecordSettingL( MusSettingsKeys::TAutoRecord aSetting ); |
|
121 |
|
122 /** |
|
123 * Returns |
|
124 * |
|
125 * @return |
|
126 */ |
|
127 static TInt VideoLocationSettingL(); |
|
128 |
|
129 /** |
|
130 * Sets |
|
131 * |
|
132 * @param |
|
133 */ |
|
134 static void SetVideoLocationSettingL( TInt aSetting ); |
|
135 |
|
136 /** |
|
137 * Returns |
|
138 * |
|
139 * @return |
|
140 */ |
|
141 static TInt SipProfileSettingL(); |
|
142 |
|
143 /** |
|
144 * Sets |
|
145 * |
|
146 * @param |
|
147 */ |
|
148 static void SetSipProfileSettingL( TInt aSetting ); |
|
149 |
|
150 /** |
|
151 * Returns |
|
152 * |
|
153 * @return |
|
154 */ |
|
155 static MusSettingsKeys::TUiOrientation UiOrientationSettingL(); |
|
156 |
|
157 /** |
|
158 * Sets |
|
159 * |
|
160 * @param |
|
161 */ |
|
162 static void SetUiOrientationSettingL( |
|
163 MusSettingsKeys::TUiOrientation aOrientationSetting ); |
|
164 |
|
165 /** |
|
166 * Returns |
|
167 * |
|
168 * @return |
|
169 */ |
|
170 static MusSettingsKeys::TCapabilityQuery CapabilityQuerySettingL(); |
|
171 |
|
172 /** |
|
173 * Sets |
|
174 * |
|
175 * @param |
|
176 */ |
|
177 static void SetCapabilityQuerySettingL( |
|
178 MusSettingsKeys::TCapabilityQuery aOrientationSetting ); |
|
179 |
|
180 /** |
|
181 * Returns resource availability which is read from cenrep. |
|
182 * |
|
183 * @return |
|
184 */ |
|
185 static void ResourceAvailability(MusSettingsKeys::TAvailability &aCamera, |
|
186 MusSettingsKeys::TAvailability &aKeypad); |
|
187 |
|
188 /** |
|
189 * Returns resource usuability which is read from cenrep. |
|
190 * |
|
191 * @return |
|
192 */ |
|
193 static void ResourceUsability(MusSettingsKeys::TUsability &aCamera, |
|
194 MusSettingsKeys::TUsability &aKeypad, |
|
195 MusSettingsKeys::TUsability &aVideoplayer); |
|
196 |
|
197 /** |
|
198 * @return Concatenation of encoder configuration information. |
|
199 * Information has been divided to tokens separated by a semicolon. |
|
200 * Keys will read from cenrep. Ownership is transferred. |
|
201 */ |
|
202 static HBufC8* EncoderConfigInfoLC(); |
|
203 |
|
204 |
|
205 |
|
206 /** |
|
207 * @param A concatenation of encoder configuration information |
|
208 */ |
|
209 static void SetEncoderConfigInfoL( const TDesC8& aConfigInfo ); |
|
210 |
|
211 /** |
|
212 * |
|
213 */ |
|
214 static TUid EncodingDeviceL(); |
|
215 |
|
216 /** |
|
217 * For internal usage only. Use direct getters/setters for each setting. |
|
218 * |
|
219 * @param |
|
220 * @return |
|
221 */ |
|
222 static TInt GetPropertyValueL( TUint32 aKey ); |
|
223 |
|
224 /** |
|
225 * For internal usage only. Use direct getters/setters for each setting. |
|
226 * |
|
227 * @param |
|
228 * @return |
|
229 */ |
|
230 static HBufC16* GetPropertyValueLC( TUint32 aKey ); |
|
231 |
|
232 /** |
|
233 * For internal usage only. Use direct getters/setters for each setting. |
|
234 * |
|
235 * @param |
|
236 * @param |
|
237 */ |
|
238 static void MultimediaSharingSettings::SetPropertyValueL( |
|
239 TUint32 aKey, |
|
240 const TDesC& aValue ); |
|
241 |
|
242 /** |
|
243 * For internal usage only. Use direct getters/setters for each setting. |
|
244 * |
|
245 * @param |
|
246 * @param |
|
247 */ |
|
248 static void SetPropertyValueL( TUint32 aKey, TInt aValue ); |
|
249 |
|
250 /** |
|
251 * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue |
|
252 * else otherwise. |
|
253 * Means AVC will be disabled when encoding device cenrep configuration |
|
254 * set to 0x0fffffff. |
|
255 */ |
|
256 static TBool MultimediaSharingSettings::IsAvcDisabled(); |
|
257 |
|
258 |
|
259 /** |
|
260 * @return ETrue if privacy is requested |
|
261 * EFalse otherwise, or if an error occurred reading cenrep |
|
262 */ |
|
263 static TBool PrivacySetting(); |
|
264 |
|
265 }; |
|
266 |
|
267 #include "mussettings.inl" |
|
268 |
|
269 #endif // MUSSETTINGS_H |