voicerecorder/AppSrc/CVRSettingsDialogMMCSupported.cpp
branchRCL_3
changeset 14 f962425b9f8b
parent 13 4e5b531d23cb
child 19 2f5c9ee7098c
equal deleted inserted replaced
13:4e5b531d23cb 14:f962425b9f8b
   154     	iSettingItemArray.AppendL( settingItem ); 
   154     	iSettingItemArray.AppendL( settingItem ); 
   155     	CleanupStack::Pop();	// settingItem
   155     	CleanupStack::Pop();	// settingItem
   156     	id++;
   156     	id++;
   157         }
   157         }
   158 
   158 
   159 
   159     if ( VRUtils::MultipleMassStorageAvailable() )
   160 	// Create the memo store item
   160     	{
   161 	// Set memo store item's title
   161     	// Create the memo store item
   162 	itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
   162     	// Set memo store item's title
   163 
   163 
       
   164     	itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
   164 #ifndef RD_MULTIPLE_DRIVE
   165 #ifndef RD_MULTIPLE_DRIVE
   165 	settingItem = new( ELeave ) CAknMemorySelectionSettingItem( 0, iMemoStore );
   166 	settingItem = new( ELeave ) CAknMemorySelectionSettingItem( 0, iMemoStore );
   166 	CleanupStack::PushL( settingItem ); 
   167 	CleanupStack::PushL( settingItem ); 
   167     settingItem->ConstructL( EFalse, id, *itemTitle, NULL,
   168     settingItem->ConstructL( EFalse, id, *itemTitle, NULL,
   168        R_VOREC_MEMORY_SELECTION_DIALOG, EAknCtPopupSettingList );
   169        R_VOREC_MEMORY_SELECTION_DIALOG, EAknCtPopupSettingList );
   188         VRUtils::SetMemoDriveL( iDrive );
   189         VRUtils::SetMemoDriveL( iDrive );
   189        	}
   190        	}
   190  
   191  
   191 #endif
   192 #endif
   192 
   193 
   193 
   194 		CleanupStack::PopAndDestroy();	// itemTitle
   194 	CleanupStack::PopAndDestroy();	// itemTitle
   195 	}
   195 
       
   196 	CTextListBoxModel* model = listBox->Model();
   196 	CTextListBoxModel* model = listBox->Model();
   197 	model->SetItemTextArray( &iSettingItemArray );
   197 	model->SetItemTextArray( &iSettingItemArray );
   198 	// Ownership retained by us
   198 	// Ownership retained by us
   199 	model->SetOwnershipType( ELbmDoesNotOwnItemArray );
   199 	model->SetOwnershipType( ELbmDoesNotOwnItemArray );
   200 
   200