mtpfws/mtpfw/dataproviders/dputility/src/cmtpgetobjectpropvalue.cpp
branchRCL_3
changeset 11 4843bb5893b6
parent 0 d0791faffa3f
child 47 63cf70d3ecd8
child 48 debf68073f2f
equal deleted inserted replaced
6:f8e15b44d440 11:4843bb5893b6
   164 			break;
   164 			break;
   165 		case EMTPObjectPropCodeNonConsumable:
   165 		case EMTPObjectPropCodeNonConsumable:
   166 			ServiceNonConsumableL();
   166 			ServiceNonConsumableL();
   167 			break;
   167 			break;
   168 		default:
   168 		default:
   169 			Panic(EMTPDpUnsupportedProperty);
   169 		    User::Leave( KErrNotSupported );
       
   170 			break;
   170 		}	
   171 		}	
   171 	}
   172 	}
   172 
   173 
   173 /**
   174 /**
   174 Second-phase construction
   175 Second-phase construction
   199 	SendDataL(iMTPTypeUint16);	
   200 	SendDataL(iMTPTypeUint16);	
   200 	}
   201 	}
   201 	
   202 	
   202 void CMTPGetObjectPropValue::ServiceObjectSizeL()
   203 void CMTPGetObjectPropValue::ServiceObjectSizeL()
   203 	{
   204 	{
   204 	iMTPTypeUint64.Set(iFileEntry.iSize);
   205 	iMTPTypeUint64.Set(iFileEntry.FileSize());
   205 
   206 
   206 	SendDataL(iMTPTypeUint64);
   207 	SendDataL(iMTPTypeUint64);
   207 	}
   208 	}
   208 	
   209 	
   209 void CMTPGetObjectPropValue::ServiceObjectAssociationTypeL()	
   210 void CMTPGetObjectPropValue::ServiceObjectAssociationTypeL()