59 ~CMusAvaSettingsImp(); |
59 ~CMusAvaSettingsImp(); |
60 |
60 |
61 |
61 |
62 public: // from MMusAvaSettings |
62 public: // from MMusAvaSettings |
63 |
63 |
64 /** |
64 /** |
|
65 * Returns the fast mode value. |
|
66 */ |
|
67 |
|
68 virtual MusSettingsKeys::TFastMode FastMode() const; |
|
69 |
|
70 /** |
65 * Returns the manual activation |
71 * Returns the manual activation |
66 * |
72 * |
67 */ |
73 */ |
68 virtual TManualActivation ManualActivation(); |
74 virtual TManualActivation ManualActivation(); |
69 |
75 |
127 * Sets the settings observer pointer |
133 * Sets the settings observer pointer |
128 * |
134 * |
129 * @param aObserver Pointer to observer intercase |
135 * @param aObserver Pointer to observer intercase |
130 */ |
136 */ |
131 virtual void SetObserver( MMusAvaSettingsObserver& aObserver ); |
137 virtual void SetObserver( MMusAvaSettingsObserver& aObserver ); |
|
138 |
|
139 /* |
|
140 * Gets the settings observer pointer |
|
141 * |
|
142 */ |
|
143 virtual MMusAvaSettingsObserver* Observer(); |
132 |
144 |
133 /** |
145 /** |
134 * Sets the for the manual activation |
146 * Sets the for the manual activation |
135 * |
147 * |
136 */ |
148 */ |
137 virtual void SetManualActivation( TManualActivation aManualActivation ); |
149 virtual void SetManualActivation( TManualActivation aManualActivation ); |
138 |
|
139 |
|
140 /** |
|
141 * Returns the direction of the mobile call. |
|
142 * |
|
143 * @return 0, if the direction of the call is unknown. |
|
144 * 1, call is from public number. |
|
145 * 2, call is from private number |
|
146 */ |
|
147 virtual TInt CallPrivacy(); |
|
148 |
150 |
149 |
151 |
150 public: |
152 public: |
151 |
153 |
152 /** |
154 /** |
240 * Sets the id of the preferable SIP profile. |
242 * Sets the id of the preferable SIP profile. |
241 * |
243 * |
242 * @param aProfileId the SIP profile id. |
244 * @param aProfileId the SIP profile id. |
243 */ |
245 */ |
244 void SetSipProfileId( TInt aProfileId ); |
246 void SetSipProfileId( TInt aProfileId ); |
245 |
|
246 |
|
247 /** |
|
248 * Sets the call privacy e.g. current call number is from private number, |
|
249 * should be shown on MT. |
|
250 * |
|
251 * @param aPrivacy the SIP profile id. |
|
252 */ |
|
253 void SetCallPrivacy( TInt aPrivacy ); |
|
254 |
247 |
255 /** |
248 /** |
256 * Returns the id of the preferable SIP profile. |
249 * Returns the id of the preferable SIP profile. |
257 * |
250 * |
258 * @return The SIP profile id. |
251 * @return The SIP profile id. |
259 */ |
252 */ |
260 CMusAvaSip& Sip(); |
253 CMusAvaSip& Sip(); |
261 |
254 |
262 void SetOptionSentNumber( const TDesC& aTelNumber ); |
255 /** |
263 |
256 * Sets the fast mode value |
264 const TDesC& OptionSentTelNumber() const; |
257 */ |
265 |
258 void SetFastMode( MusSettingsKeys::TFastMode aMode ); |
266 void ReleaseOptionSentNumber(); |
259 |
267 |
260 /** |
268 |
261 * Sets contact resolving uri |
269 |
262 */ |
|
263 void SetUriForContactResolvingL( const TDesC& aRemoteUri ); |
|
264 |
|
265 /** |
|
266 * Gets contact resolving uri |
|
267 */ |
|
268 TPtrC ContactResolvingUri(); |
270 |
269 |
271 private: |
270 private: |
272 |
271 |
273 void CopyDescArrayL( CDesCArray& aTarget, |
272 void CopyDescArrayL( CDesCArray& aTarget, |
274 const MDesCArray& aSource ); |
273 const MDesCArray& aSource ); |
356 * Setting for the Manual activation. |
352 * Setting for the Manual activation. |
357 */ |
353 */ |
358 TManualActivation iManualActivation; |
354 TManualActivation iManualActivation; |
359 |
355 |
360 /** |
356 /** |
361 * Call privacy indicator |
357 * Fast mode |
362 * |
358 */ |
363 */ |
359 MusSettingsKeys::TFastMode iFastMode; |
364 |
360 |
365 TInt iCallPrivacy; |
361 /** |
|
362 * Contact resolving |
|
363 */ |
|
364 HBufC* iContactResolvingUri; |
366 |
365 |
367 MUS_UNITTEST( UT_CMusAvaSettingsImp ) |
366 MUS_UNITTEST( UT_CMusAvaSettingsImp ) |
368 MUS_UNITTEST( UT_CMusAvaOptionHandler ) |
367 MUS_UNITTEST( UT_CMusAvaOptionHandler ) |
369 MUS_UNITTEST( UT_CMusAvaTerminal ) |
|
370 }; |
368 }; |
371 |
369 |
372 #endif __MUSAVASETTINGSIMP_H__ |
370 #endif __MUSAVASETTINGSIMP_H__ |
373 |
371 |