mmshplugins/mmshsettingsuiplugin/src/mussettingscontainer.cpp
branchRCL_3
changeset 41 755f0370535b
parent 33 bc78a40cd63c
equal deleted inserted replaced
38:ac48f0cc9f9c 41:755f0370535b
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Container for MUSSettingsPlugin.
    14 * Description:  Container for MUSSettingsPlugin.
    15 *  Version     : %version: be1sipx1#22 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: 21 % << Don't touch! Updated by Synergy at check-out.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 
    20 
    86     {
    86     {
    87     MUS_LOG( "[MUSSET] -> CMusSettingsContainer::~CMusSettingsContainer()" )
    87     MUS_LOG( "[MUSSET] -> CMusSettingsContainer::~CMusSettingsContainer()" )
    88     delete iActivationItems;
    88     delete iActivationItems;
    89     delete iProfileItems;
    89     delete iProfileItems;
    90     delete iAutoRecordItems;
    90     delete iAutoRecordItems;
    91     delete iNoteItems;
       
    92     delete iListboxItemArray;
    91     delete iListboxItemArray;
    93     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::~CMusSettingsContainer()" )
    92     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::~CMusSettingsContainer()" )
    94     }
    93     }
    95 
    94 
    96 
    95 
   116                                     R_VS_VIDEO_SAVING_SETTING_PAGE_LBX );
   115                                     R_VS_VIDEO_SAVING_SETTING_PAGE_LBX );
   117 
   116 
   118     iProfileItems = iCoeEnv->ReadDesC16ArrayResourceL(
   117     iProfileItems = iCoeEnv->ReadDesC16ArrayResourceL(
   119     	R_SIP_PROFILE_SETTING_PAGE_LBX );
   118     	R_SIP_PROFILE_SETTING_PAGE_LBX );
   120 
   119 
   121     iNoteItems = iCoeEnv->ReadDesC16ArrayResourceL(
       
   122 							R_VS_AUDIO_SETTING_PAGE_LBX );
       
   123     
       
   124     CreateListBoxItemsL();
   120     CreateListBoxItemsL();
   125 
   121 
   126     // Operator variant mode needs some item should not be visible to user.
   122     // Operator variant mode needs some item should not be visible to user.
   127     // Hide those items.
   123     // Hide those items.
   128     if ( iOperatorVariant == MusSettingsKeys::EOperatorSpecific )
   124     if ( iOperatorVariant == MusSettingsKeys::EOperatorSpecific )
   390         auditoryNotification = MusSettingsKeys::EAuditoryNotificationOff;
   386         auditoryNotification = MusSettingsKeys::EAuditoryNotificationOff;
   391         MultimediaSharingSettings::SetAuditoryNotificationSettingL(
   387         MultimediaSharingSettings::SetAuditoryNotificationSettingL(
   392                                     MusSettingsKeys::EAuditoryNotificationOff );
   388                                     MusSettingsKeys::EAuditoryNotificationOff );
   393         }
   389         }
   394 
   390 
   395     AddItemL( KGSSettIdNote, ( *iNoteItems )[ auditoryNotification ] );
   391     AddItemL( KGSSettIdNote, ( *iActivationItems )[ auditoryNotification ] );
   396 	
   392 	
   397     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::MakeNoteItemL()" )
   393     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::MakeNoteItemL()" )
   398     }
   394     }
   399 
   395 
   400 
   396