diff options
Diffstat (limited to 'engines/sword25/kernel/filesystemutil.h')
-rw-r--r-- | engines/sword25/kernel/filesystemutil.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/engines/sword25/kernel/filesystemutil.h b/engines/sword25/kernel/filesystemutil.h index 828ff31922..0fffa72d9f 100644 --- a/engines/sword25/kernel/filesystemutil.h +++ b/engines/sword25/kernel/filesystemutil.h @@ -23,7 +23,7 @@ * */ -/* +/* * This code is based on Broken Sword 2.5 engine * * Copyright (c) Malte Thiesen, Daniel Queteschiner and Michael Elsdoerfer @@ -33,8 +33,8 @@ */ /* - * - * The class BS_FileSystemUtil represents a wrapper for file system specific + * + * The class BS_FileSystemUtil represents a wrapper for file system specific * operations that do not have equivalents in the C/C++ libraries. * * Each supported platform must implement this interface, and the method @@ -69,42 +69,42 @@ public: * This function returns the name of the directory in which all user data is to be stored. * * These are for example Screenshots, game saves, configuration files, log files, ... - * @return Returns the name of the directory for user data. + * @return Returns the name of the directory for user data. */ virtual Common::String GetUserdataDirectory() = 0; /** - * @return Returns the path seperator + * @return Returns the path seperator */ - virtual Common::String GetPathSeparator() = 0; + virtual Common::String GetPathSeparator() = 0; /** - * @param Filename The path to a file. - * @return Returns the size of the specified file. If the size could not be + * @param Filename The path to a file. + * @return Returns the size of the specified file. If the size could not be * determined, or the file does not exist, returns -1 */ virtual int64 GetFileSize(const Common::String &Filename) = 0; /** - * @param Filename The path to a file. - * @return Returns the timestamp of the specified file. + * @param Filename The path to a file. + * @return Returns the timestamp of the specified file. */ virtual TimeDate GetFileTime(const Common::String &Filename) = 0; /** - * @param Filename The path to a file. - * @return Returns true if the file exists. + * @param Filename The path to a file. + * @return Returns true if the file exists. */ virtual bool FileExists(const Common::String &Filename) = 0; /** * This function creates a directory - * + * * If the parameter is "\b\c\d\e" is passed, and "\b\c" already exists, then folder 'd' * will be created, and subdirectory 'e' under it. - * @param DirectoryName The name of the directory to be created - * @return Returns true if the folder(s) could be created, otherwise false. + * @param DirectoryName The name of the directory to be created + * @return Returns true if the folder(s) could be created, otherwise false. */ virtual bool CreateDirectory(const Common::String &DirectoryName) = 0; /** * Creates a list of filenames in a given directory. - * @param Directory The directory to search - * @return Returns a vector containing all of the found filenames + * @param Directory The directory to search + * @return Returns a vector containing all of the found filenames */ virtual Common::StringArray GetFilesInDirectory(const Common::String &Path) = 0; }; |