userlibandfileserver/fileserver/sfile/sf_utl.cpp
changeset 266 0008ccd16016
parent 247 d8d70de2bd36
child 299 b5a01337d018
--- a/userlibandfileserver/fileserver/sfile/sf_utl.cpp	Thu Sep 02 21:54:16 2010 +0300
+++ b/userlibandfileserver/fileserver/sfile/sf_utl.cpp	Fri Sep 17 08:37:04 2010 +0300
@@ -1150,3 +1150,20 @@
 	CActiveScheduler::Stop();
 	}
 
+
+//---------------------------------------------------------------------------------------------------------------------------------
+/**
+    formats a string to represent a drive section in the estart.txt file by its number. Like "DriveD"
+    @param  aDrvNum         drive number
+    @param  aSectionName    out: formatted string
+*/
+void  F32Properties::GetDriveSection(TInt aDrvNum, TDes8& aSectionName)
+    {
+    ASSERT(aDrvNum >= EDriveA && aDrvNum <= EDriveZ);
+    _LIT8(KLitSectionNameDrive,"Drive%C");
+	aSectionName.Format(KLitSectionNameDrive, 'A' + aDrvNum);
+    }
+
+
+
+