--- a/userlibandfileserver/fileserver/sfat32/fat_dir_entry.inl Tue Feb 02 01:24:03 2010 +0200
+++ b/userlibandfileserver/fileserver/sfat32/fat_dir_entry.inl Sat Feb 20 00:10:51 2010 +0200
@@ -77,7 +77,10 @@
@return The size of file or directory for this entry
*/
inline TUint32 TFatDirEntry::Size() const
- {return pDir->iSize;}
+ {
+ return pDir->iSize;
+ }
+
/**
@return True if the entry is erased
*/
@@ -155,33 +158,35 @@
@param aFileSize Size of the file
*/
inline void TFatDirEntry::SetSize(TUint32 aFileSize)
- {pDir->iSize=aFileSize;}
-/**
-Set the directory entry as erased
-*/
+ {
+ pDir->iSize=aFileSize;
+ }
+
+/** Set the directory entry as erased */
inline void TFatDirEntry::SetErased()
- {iData[0]=KEntryErasedMarker;}
-/**
-Set the current entry to refer to the current directory
-*/
+ {
+ iData[0]=KEntryErasedMarker;
+ }
+
+/** Set the current entry to refer to the current directory */
inline void TFatDirEntry::SetCurrentDirectory()
{
iData[0]='.';
Mem::Fill(&iData[1],KFatDirNameSize-1,' ');
}
-/**
-Set the current entry to refer to the parent directory
-*/
+
+/** Set the current entry to refer to the parent directory */
inline void TFatDirEntry::SetParentDirectory()
{
iData[0]='.';iData[1]='.';
Mem::Fill(&iData[2],KFatDirNameSize-2,' ');
}
-/**
-Set the current entry to be the end of directory marker
-*/
+
+/** Set the current entry to be the end of directory marker */
inline void TFatDirEntry::SetEndOfDirectory()
- {Mem::FillZ(&iData[0],KFatDirNameSize);}
+ {
+ Mem::FillZ(&iData[0],KFatDirNameSize);
+ }
/**
Get VFAT entry ID. Uset by Rugged FAT and Scan Drive to fix broken entries
@@ -202,21 +207,23 @@
}
-/**
-@return True if the entry is the start of a long name set of entries
-*/
+/** @return True if the entry is the start of a long name set of entries */
inline TBool TFatDirEntry::IsLongNameStart() const
- {return (TBool)((iData[0]&0x40) != 0);}
-/**
-@return True is the Entry is a VFat entry
-*/
+ {
+ return (iData[0] & 0x40);
+ }
+
+/** @return True is the Entry is a VFat entry */
inline TBool TFatDirEntry::IsVFatEntry() const
- {return (TBool)(Attributes()==KVFatEntryAttribute && IsEndOfDirectory()==EFalse);}
-/**
-@return The number of following VFat entries
-*/
+ {
+ return (Attributes()==KVFatEntryAttribute && IsEndOfDirectory() == EFalse);
+ }
+
+/** @return The number of following VFat entries */
inline TInt TFatDirEntry::NumFollowing() const
- {return (iData[0]&0x3F);}
+ {
+ return (iData[0]&0x3F);
+ }
inline TUint8 TFatDirEntry::CheckSum() const
@@ -226,7 +233,6 @@
}
-
/**
@return ETrue if the Directory entry contains garbage data
*/