userlibandfileserver/fileserver/sfile/sf_utl.cpp
changeset 254 1560c419b176
parent 199 189ece41fa29
child 299 b5a01337d018
--- a/userlibandfileserver/fileserver/sfile/sf_utl.cpp	Tue Aug 24 14:49:21 2010 +0100
+++ b/userlibandfileserver/fileserver/sfile/sf_utl.cpp	Tue Aug 31 11:31:15 2010 +0100
@@ -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);
+    }
+
+
+
+