mtpfws/mtpfw/dataproviders/devdp/src/cmtpdevicedatastore.cpp
branchRCL_3
changeset 12 8b094906a049
parent 11 4843bb5893b6
child 14 60a94a45d437
equal deleted inserted replaced
11:4843bb5893b6 12:8b094906a049
   465 @param aConnectionMgr The MTP connection manager interface.
   465 @param aConnectionMgr The MTP connection manager interface.
   466 */
   466 */
   467 CMTPDeviceDataStore::CMTPDeviceDataStore() :
   467 CMTPDeviceDataStore::CMTPDeviceDataStore() :
   468     CActive(EPriorityStandard),
   468     CActive(EPriorityStandard),
   469 	iBatteryInfoV1Pckg(iBatteryInfoV1),
   469 	iBatteryInfoV1Pckg(iBatteryInfoV1),
   470 	iPhoneIdV1Pckg(iPhoneIdV1)
   470 	iPhoneIdV1Pckg(iPhoneIdV1),
       
   471 	iIsConnectMac(EFalse)
   471     {
   472     {
   472     CActiveScheduler::Add(this);
   473     CActiveScheduler::Add(this);
   473     }
   474     }
   474 
   475 
   475 /**
   476 /**
  1209 	rFile.Close();
  1210 	rFile.Close();
  1210 	rFs.Close();
  1211 	rFs.Close();
  1211 	}//else nothing to do.
  1212 	}//else nothing to do.
  1212 	}
  1213 	}
  1213 
  1214 
       
  1215 TBool CMTPDeviceDataStore::IsConnectMac()
       
  1216     {
       
  1217     return iIsConnectMac;
       
  1218     }
       
  1219 void CMTPDeviceDataStore::SetConnectMac(TBool aConnectMac)
       
  1220     {
       
  1221     iIsConnectMac = aConnectMac;
       
  1222     }