mtpfws/mtpfw/inc/mtpframeworkconst.h
changeset 20 6e82ae192c3a
parent 0 d0791faffa3f
child 24 523717cdb0ad
--- a/mtpfws/mtpfw/inc/mtpframeworkconst.h	Fri Apr 16 15:51:48 2010 +0300
+++ b/mtpfws/mtpfw/inc/mtpframeworkconst.h	Mon May 03 13:19:02 2010 +0300
@@ -81,4 +81,14 @@
 */
 const TUint KMTPProxyDPID = 2; 
 
+//MTP should reserve some disk space to prevent OOD(Out of Disk) monitor 
+//popup 'Out of memory' note.When syncing music through ovi player,
+//sometimes device screen get freeze with this note
+//Be default, this value is read from Central Respository, if error while
+//reading, use this one
+const TInt KFreeSpaceThreshHoldDefaultValue(20*1024*1024);//20M bytes
+
+//Beside the OOD threshold value, we need to reserve extra disk space
+//for harvest server do the harvest, set this as 1M
+const TInt KFreeSpaceExtraReserved(1024*1024);//1M bytes
 #endif // MTPFRAMEWORKCONST_H