182 { |
182 { |
183 MUS_LOG1( "mus: [MUSSET] -> MultimediaSharingSettings::SetAuditoryNotificationSettingL( %d )", |
183 MUS_LOG1( "mus: [MUSSET] -> MultimediaSharingSettings::SetAuditoryNotificationSettingL( %d )", |
184 ( TInt ) aNotificationSetting ) |
184 ( TInt ) aNotificationSetting ) |
185 SetPropertyValueL( MusSettingsKeys::KAuditoryNotification, ( TInt ) aNotificationSetting ); |
185 SetPropertyValueL( MusSettingsKeys::KAuditoryNotification, ( TInt ) aNotificationSetting ); |
186 MUS_LOG( "mus: [MUSSET] <- MultimediaSharingSettings::SetAuditoryNotificationSettingL()" ) |
186 MUS_LOG( "mus: [MUSSET] <- MultimediaSharingSettings::SetAuditoryNotificationSettingL()" ) |
|
187 } |
|
188 |
|
189 |
|
190 // ----------------------------------------------------------------------------- |
|
191 // |
|
192 // ----------------------------------------------------------------------------- |
|
193 // |
|
194 inline MusSettingsKeys::TPopupNotification |
|
195 MultimediaSharingSettings::PopupNotificationSettingL() |
|
196 { |
|
197 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::PopupNotificationSettingL()" ) |
|
198 TInt value = GetPropertyValueL( MusSettingsKeys::KPopupNotification ); |
|
199 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::PopupNotificationSettingL( %d )", |
|
200 value ) |
|
201 return ( MusSettingsKeys::TPopupNotification ) value; |
|
202 } |
|
203 |
|
204 |
|
205 // ----------------------------------------------------------------------------- |
|
206 // |
|
207 // ----------------------------------------------------------------------------- |
|
208 // |
|
209 inline void MultimediaSharingSettings::SetPopupNotificationSettingL( |
|
210 MusSettingsKeys::TPopupNotification aNotificationSetting ) |
|
211 { |
|
212 MUS_LOG1( "mus: [MUSSET] -> MultimediaSharingSettings::SetPopupNotificationSettingL( %d )", |
|
213 ( TInt ) aNotificationSetting ) |
|
214 SetPropertyValueL( MusSettingsKeys::KPopupNotification, |
|
215 ( TInt ) aNotificationSetting ); |
|
216 MUS_LOG( "mus: [MUSSET] <- MultimediaSharingSettings::SetPopupNotificationSettingL()" ) |
|
217 } |
|
218 |
|
219 |
|
220 // ----------------------------------------------------------------------------- |
|
221 // |
|
222 // ----------------------------------------------------------------------------- |
|
223 // |
|
224 inline MusSettingsKeys::TPopupNotificationType |
|
225 MultimediaSharingSettings::PopupNotificationTypeSettingL() |
|
226 { |
|
227 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::PopupNotificationTypeSettingL()" ) |
|
228 TInt value = GetPropertyValueL( MusSettingsKeys::KPopupNotificationType ); |
|
229 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::PopupNotificationTypeSettingL( %d )", |
|
230 value ) |
|
231 return ( MusSettingsKeys::TPopupNotificationType ) value; |
|
232 } |
|
233 |
|
234 |
|
235 // ----------------------------------------------------------------------------- |
|
236 // |
|
237 // ----------------------------------------------------------------------------- |
|
238 // |
|
239 inline void MultimediaSharingSettings::SetPopupNotificationTypeSettingL( |
|
240 MusSettingsKeys::TPopupNotificationType aNotificationSetting ) |
|
241 { |
|
242 MUS_LOG1( "mus: [MUSSET] -> MultimediaSharingSettings::SetActivationSettingL( %d )", |
|
243 ( TInt ) aNotificationSetting ) |
|
244 SetPropertyValueL( MusSettingsKeys::KPopupNotificationType, ( TInt ) aNotificationSetting ); |
|
245 MUS_LOG( "mus: [MUSSET] <- MultimediaSharingSettings::SetActivationSettingL()" ) |
|
246 |
187 } |
247 } |
188 |
248 |
189 |
249 |
190 // ----------------------------------------------------------------------------- |
250 // ----------------------------------------------------------------------------- |
191 // |
251 // |
522 |
582 |
523 return TUid::Uid( value ); |
583 return TUid::Uid( value ); |
524 } |
584 } |
525 |
585 |
526 // ----------------------------------------------------------------------------- |
586 // ----------------------------------------------------------------------------- |
|
587 // Returns the cenrep configured value for KAllowOnlyWithActiveCSCall key. |
|
588 // ----------------------------------------------------------------------------- |
|
589 // |
|
590 inline MusSettingsKeys::TAllowedCSOnly |
|
591 MultimediaSharingSettings::AllowedCSOnlySettingL() |
|
592 { |
|
593 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::AllowedCSOnlySettingL()" ) |
|
594 TInt value = GetPropertyValueL( MusSettingsKeys::KAllowOnlyWithActiveCSCall ); |
|
595 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::AllowedCSOnlySettingL( %d )", |
|
596 value ) |
|
597 return ( MusSettingsKeys::TAllowedCSOnly ) value; |
|
598 } |
|
599 |
|
600 // ----------------------------------------------------------------------------- |
|
601 // Returns the cenrep configured value for KAllowOnlyIn3GNetwork key. |
|
602 // ----------------------------------------------------------------------------- |
|
603 // |
|
604 inline MusSettingsKeys::TAllowed3GOnly |
|
605 MultimediaSharingSettings::Allowed3GOnlySettingL() |
|
606 { |
|
607 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::Allowed3GOnlySettingL()" ) |
|
608 TInt value = GetPropertyValueL( MusSettingsKeys::KAllowOnlyIn3GNetwork ); |
|
609 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::Allowed3GOnlySettingL( %d )", |
|
610 value ) |
|
611 return ( MusSettingsKeys::TAllowed3GOnly ) value; |
|
612 } |
|
613 |
|
614 |
|
615 // ----------------------------------------------------------------------------- |
|
616 // Returns the cenrep configured value for KCameraUsage key. |
|
617 // ----------------------------------------------------------------------------- |
|
618 // |
|
619 inline MusSettingsKeys::TUseCamera |
|
620 MultimediaSharingSettings::CameraUsageL() |
|
621 { |
|
622 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::CameraUsageL()" ) |
|
623 TInt value = GetPropertyValueL( MusSettingsKeys::KCameraUsage ); |
|
624 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::CameraUsageL( %d )", |
|
625 value ) |
|
626 return ( MusSettingsKeys::TUseCamera ) value; |
|
627 } |
|
628 |
|
629 |
|
630 // ----------------------------------------------------------------------------- |
|
631 // Returns the cenrep configured value for KVideoDirection key. |
|
632 // ----------------------------------------------------------------------------- |
|
633 inline MusSettingsKeys::TVideoDirection |
|
634 MultimediaSharingSettings::VideoDirectionL() |
|
635 { |
|
636 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::VideoDirectionL()" ) |
|
637 TInt value = GetPropertyValueL( MusSettingsKeys::KVideoDirection ); |
|
638 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::VideoDirectionL( %d )", |
|
639 value ) |
|
640 return ( MusSettingsKeys::TVideoDirection ) value; |
|
641 } |
|
642 |
|
643 // ----------------------------------------------------------------------------- |
|
644 // Returns the cenrep configured value for KVideoBandwidth key. |
|
645 // ----------------------------------------------------------------------------- |
|
646 inline TInt MultimediaSharingSettings::VideoBandwidthSettingL() |
|
647 { |
|
648 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::VideoBandwidthSettingL()" ) |
|
649 TInt value = GetPropertyValueL( MusSettingsKeys::KVideoBandwidth ); |
|
650 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::VideoBandwidthSettingL( %d )", |
|
651 value ) |
|
652 return value; |
|
653 } |
|
654 |
|
655 // ----------------------------------------------------------------------------- |
|
656 // Returns the cenrep configured value for KFastStartupMode key. |
|
657 // ----------------------------------------------------------------------------- |
|
658 inline MusSettingsKeys::TFastMode |
|
659 MultimediaSharingSettings::FastStartupModeL() |
|
660 { |
|
661 MUS_LOG( "mus: [MUSSET] -> MultimediaSharingSettings::FastStartupModeL()" ) |
|
662 TInt value = GetPropertyValueL( MusSettingsKeys::KFastStartupMode ); |
|
663 MUS_LOG1( "mus: [MUSSET] <- MultimediaSharingSettings::FastStartupModeL( %d )", |
|
664 value ) |
|
665 return ( MusSettingsKeys::TFastMode ) value; |
|
666 } |
|
667 |
|
668 // ----------------------------------------------------------------------------- |
527 // |
669 // |
528 // ----------------------------------------------------------------------------- |
670 // ----------------------------------------------------------------------------- |
529 // |
671 // |
530 inline TBool MultimediaSharingSettings::IsAvcDisabled() |
672 inline TBool MultimediaSharingSettings::IsAvcDisabled() |
531 { |
673 { |