mmshplugins/mmshsettingsuiplugin/src/mussettingscontainer.cpp
branchRCL_3
changeset 21 33a5d2bbf6fc
parent 10 a184f3d659e6
child 22 73a1feb507fb
equal deleted inserted replaced
20:2d2c7d1515f7 21:33a5d2bbf6fc
    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: 21 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: be1sipx1#22 % << 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;
    91     delete iListboxItemArray;
    92     delete iListboxItemArray;
    92     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::~CMusSettingsContainer()" )
    93     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::~CMusSettingsContainer()" )
    93     }
    94     }
    94 
    95 
    95 
    96 
   115                                     R_VS_VIDEO_SAVING_SETTING_PAGE_LBX );
   116                                     R_VS_VIDEO_SAVING_SETTING_PAGE_LBX );
   116 
   117 
   117     iProfileItems = iCoeEnv->ReadDesC16ArrayResourceL(
   118     iProfileItems = iCoeEnv->ReadDesC16ArrayResourceL(
   118     	R_SIP_PROFILE_SETTING_PAGE_LBX );
   119     	R_SIP_PROFILE_SETTING_PAGE_LBX );
   119 
   120 
       
   121     iNoteItems = iCoeEnv->ReadDesC16ArrayResourceL(
       
   122 							R_VS_AUDIO_SETTING_PAGE_LBX );
       
   123     
   120     CreateListBoxItemsL();
   124     CreateListBoxItemsL();
   121 
   125 
   122     // Operator variant mode needs some item should not be visible to user.
   126     // Operator variant mode needs some item should not be visible to user.
   123     // Hide those items.
   127     // Hide those items.
   124     if ( iOperatorVariant == MusSettingsKeys::EOperatorSpecific )
   128     if ( iOperatorVariant == MusSettingsKeys::EOperatorSpecific )
   386         auditoryNotification = MusSettingsKeys::EAuditoryNotificationOff;
   390         auditoryNotification = MusSettingsKeys::EAuditoryNotificationOff;
   387         MultimediaSharingSettings::SetAuditoryNotificationSettingL(
   391         MultimediaSharingSettings::SetAuditoryNotificationSettingL(
   388                                     MusSettingsKeys::EAuditoryNotificationOff );
   392                                     MusSettingsKeys::EAuditoryNotificationOff );
   389         }
   393         }
   390 
   394 
   391     AddItemL( KGSSettIdNote, ( *iActivationItems )[ auditoryNotification ] );
   395     AddItemL( KGSSettIdNote, ( *iNoteItems )[ auditoryNotification ] );
   392 	
   396 	
   393     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::MakeNoteItemL()" )
   397     MUS_LOG( "[MUSSET] <- CMusSettingsContainer::MakeNoteItemL()" )
   394     }
   398     }
   395 
   399 
   396 
   400