telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsydll/src/tmockltsydata.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 47 8b9e023e329f
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
  2379 		ConstructL(CMobilePhoneSmspList*& aData)
  2379 		ConstructL(CMobilePhoneSmspList*& aData)
  2380 	{
  2380 	{
  2381    	aData = CMobilePhoneSmspList::NewL();
  2381    	aData = CMobilePhoneSmspList::NewL();
  2382 	}
  2382 	}
  2383 
  2383 
  2384 EXPORT_C void TConstructor<CMobilePhoneStoredNetworkList>::
       
  2385 		ConstructL(CMobilePhoneStoredNetworkList*& aData)
       
  2386 	{
       
  2387    	aData = CMobilePhoneStoredNetworkList::NewL();
       
  2388 	}
       
  2389 
       
  2390 EXPORT_C void TSerializer<CMobilePhoneStoredNetworkList>::
       
  2391 		SerialiseL(const CMobilePhoneStoredNetworkList& aData, RBuf8& aBuffer)
       
  2392 	{
       
  2393         return TSerializer<CMobilePhoneListBase>::SerialiseL(aData, aBuffer);      	
       
  2394 	}
       
  2395 
       
  2396 EXPORT_C void TSerializer<CMobilePhoneStoredNetworkList>::
       
  2397 		DeserialiseL(const TDesC8& aPackedData, CMobilePhoneStoredNetworkList& aData)
       
  2398 	{
       
  2399     TSerializer<CMobilePhoneListBase>::DeserialiseL(aPackedData, aData);    
       
  2400 	}
       
  2401 
       
  2402 EXPORT_C TBool TComparator<CMobilePhoneStoredNetworkList>::
       
  2403     IsEqual(const CMobilePhoneStoredNetworkList& aData1, 
       
  2404             const CMobilePhoneStoredNetworkList& aData2)
       
  2405     {
       
  2406     return TComparator< CMobilePhoneEditableList
       
  2407             <RMobilePhone::TMobilePreferredNetworkEntryV3>* >::
       
  2408             IsEqual(&aData1, &aData2);
       
  2409     }
       
  2410 
       
  2411 EXPORT_C TBool TComparator<RMobilePhone::TMobilePreferredNetworkEntryV3>::
       
  2412     IsEqual(const RMobilePhone::TMobilePreferredNetworkEntryV3& aData1, 
       
  2413             const RMobilePhone::TMobilePreferredNetworkEntryV3& aData2)
       
  2414     {
       
  2415 
       
  2416     return  (aData1.iAccess == aData2.iAccess) &&
       
  2417             (aData1.iUserDefined == aData2.iUserDefined) &&
       
  2418             (aData1.iCountryCode.Compare(aData2.iCountryCode) == 0) &&
       
  2419             (aData1.iNetworkId.Compare(aData2.iNetworkId) == 0) &&
       
  2420             (TComparator<RMobilePhone::TMultimodeType>::IsEqual(aData1, aData2));
       
  2421     }
       
  2422 //***************************************************
  2384 //***************************************************
  2423 
  2385 
  2424 EXPORT_C TBool TComparator<CMobilePhoneListBase>::
  2386 EXPORT_C TBool TComparator<CMobilePhoneListBase>::
  2425 		IsEqual(const CMobilePhoneListBase& aData1,
  2387 		IsEqual(const CMobilePhoneListBase& aData1,
  2426 				const CMobilePhoneListBase& aData2)
  2388 				const CMobilePhoneListBase& aData2)