mtpfws/mtpfw/inc/mtpframeworkconst.h
branchRCL_3
changeset 14 60a94a45d437
parent 0 d0791faffa3f
child 24 523717cdb0ad
--- a/mtpfws/mtpfw/inc/mtpframeworkconst.h	Mon Mar 15 12:43:12 2010 +0200
+++ b/mtpfws/mtpfw/inc/mtpframeworkconst.h	Wed Mar 31 22:58:56 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