aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-01-28 00:14:17 +0000
committerJordi Vilalta Prat2008-01-28 00:14:17 +0000
commitd6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd (patch)
treee6e98f266610f6428c248aed6abc75e637e45231 /backends/fs
parent66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (diff)
downloadscummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.tar.gz
scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.tar.bz2
scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.zip
Fixed the spaces before tabs.
svn-id: r30667
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/abstract-fs.h8
-rw-r--r--backends/fs/amigaos4/amigaos4-fs.cpp4
-rw-r--r--backends/fs/dc/dc-fs.cpp4
-rw-r--r--backends/fs/ds/ds-fs.cpp6
-rw-r--r--backends/fs/ds/ds-fs.h20
-rw-r--r--backends/fs/gp32/gp32-fs.cpp4
-rw-r--r--backends/fs/morphos/abox-fs.cpp4
-rw-r--r--backends/fs/palmos/palmos-fs.cpp6
-rw-r--r--backends/fs/posix/posix-fs.cpp4
-rw-r--r--backends/fs/psp/psp-fs.cpp4
-rw-r--r--backends/fs/symbian/symbian-fs.cpp4
-rw-r--r--backends/fs/windows/windows-fs.cpp14
12 files changed, 41 insertions, 41 deletions
diff --git a/backends/fs/abstract-fs.h b/backends/fs/abstract-fs.h
index f593023d24..8125ad7d95 100644
--- a/backends/fs/abstract-fs.h
+++ b/backends/fs/abstract-fs.h
@@ -53,8 +53,8 @@ protected:
* handle this gracefully by returning 0.
*
* Example:
- * Calling getChild() for a node with path "/foo/bar" using name="file.txt",
- * would produce a new node with "/foo/bar/file.txt" as path.
+ * Calling getChild() for a node with path "/foo/bar" using name="file.txt",
+ * would produce a new node with "/foo/bar/file.txt" as path.
*
* @note This function will append a separator char (\ or /) to the end of the
* path if needed.
@@ -106,8 +106,8 @@ public:
* Returns the last component of the path pointed by this FilesystemNode.
*
* Examples (POSIX):
- * /foo/bar.txt would return /bar.txt
- * /foo/bar/ would return /bar/
+ * /foo/bar.txt would return /bar.txt
+ * /foo/bar/ would return /bar/
*
* @note This method is very architecture dependent, please check the concrete implementation for more information.
*/
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp
index 16a95cc779..3f4ba18a30 100644
--- a/backends/fs/amigaos4/amigaos4-fs.cpp
+++ b/backends/fs/amigaos4/amigaos4-fs.cpp
@@ -380,7 +380,7 @@ bool AmigaOSFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b
if (entry) {
//FIXME: since the isValid() function is no longer part of the AbstractFilesystemNode
// specification, the following call had to be changed:
- // if (entry->isValid())
+ // if (entry->isValid())
// Please verify that the logic of the code remains coherent. Also, remember
// that the isReadable() and isWritable() methods are available.
if (entry->exists())
@@ -542,7 +542,7 @@ AbstractFSList AmigaOSFilesystemNode::listVolumes() const {
if (entry) {
//FIXME: since the isValid() function is no longer part of the AbstractFilesystemNode
// specification, the following call had to be changed:
- // if (entry->isValid())
+ // if (entry->isValid())
// Please verify that the logic of the code remains coherent. Also, remember
// that the isReadable() and isWritable() methods are available.
if(entry->exists())
diff --git a/backends/fs/dc/dc-fs.cpp b/backends/fs/dc/dc-fs.cpp
index 307f6f8852..88eae128d3 100644
--- a/backends/fs/dc/dc-fs.cpp
+++ b/backends/fs/dc/dc-fs.cpp
@@ -73,8 +73,8 @@ public:
* Returns the last component of a given path.
*
* Examples:
- * /foo/bar.txt would return /bar.txt
- * /foo/bar/ would return /bar/
+ * /foo/bar.txt would return /bar.txt
+ * /foo/bar/ would return /bar/
*
* @param str String containing the path.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/ds/ds-fs.cpp b/backends/fs/ds/ds-fs.cpp
index 6a1279e1e1..79b957f2e2 100644
--- a/backends/fs/ds/ds-fs.cpp
+++ b/backends/fs/ds/ds-fs.cpp
@@ -35,7 +35,7 @@ namespace DS {
// DSFileSystemNode - Flash ROM file system using Zip files //
//////////////////////////////////////////////////////////////
-ZipFile* DSFileSystemNode::_zipFile = NULL;
+ZipFile* DSFileSystemNode::_zipFile = NULL;
char currentDir[128];
DSFileSystemNode::DSFileSystemNode() {
@@ -803,8 +803,8 @@ int std_ferror(FILE* handle) {
* Returns the last component of a given path.
*
* Examples:
- * /foo/bar.txt would return /bar.txt
- * /foo/bar/ would return /bar/
+ * /foo/bar.txt would return /bar.txt
+ * /foo/bar/ would return /bar/
*
* @param str String containing the path.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/ds/ds-fs.h b/backends/fs/ds/ds-fs.h
index 6b3452b53b..389702b330 100644
--- a/backends/fs/ds/ds-fs.h
+++ b/backends/fs/ds/ds-fs.h
@@ -179,17 +179,17 @@ struct fileHandle {
#define FILE DS::fileHandle
// Please do not remove any of these prototypes that appear not to be required.
-FILE* std_fopen(const char* name, const char* mode);
-void std_fclose(FILE* handle);
-int std_getc(FILE* handle);
-size_t std_fread(const void* ptr, size_t size, size_t numItems, FILE* handle);
-size_t std_fwrite(const void* ptr, size_t size, size_t numItems, FILE* handle);
-bool std_feof(FILE* handle);
+FILE* std_fopen(const char* name, const char* mode);
+void std_fclose(FILE* handle);
+int std_getc(FILE* handle);
+size_t std_fread(const void* ptr, size_t size, size_t numItems, FILE* handle);
+size_t std_fwrite(const void* ptr, size_t size, size_t numItems, FILE* handle);
+bool std_feof(FILE* handle);
long int std_ftell(FILE* handle);
-int std_fseek(FILE* handle, long int offset, int whence);
-void std_clearerr(FILE* handle);
-void std_cwd(char* dir);
-void std_fflush(FILE* handle);
+int std_fseek(FILE* handle, long int offset, int whence);
+void std_clearerr(FILE* handle);
+void std_cwd(char* dir);
+void std_fflush(FILE* handle);
} //namespace DS
diff --git a/backends/fs/gp32/gp32-fs.cpp b/backends/fs/gp32/gp32-fs.cpp
index 56705b90fc..06830c13f5 100644
--- a/backends/fs/gp32/gp32-fs.cpp
+++ b/backends/fs/gp32/gp32-fs.cpp
@@ -74,8 +74,8 @@ const char gpRootPath[] = "gp:\\";
* Returns the last component of a given path.
*
* Examples:
- * gp:\foo\bar.txt would return "\bar.txt"
- * gp:\foo\bar\ would return "\bar\"
+ * gp:\foo\bar.txt would return "\bar.txt"
+ * gp:\foo\bar\ would return "\bar\"
*
* @param str Path to obtain the last component from.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/morphos/abox-fs.cpp b/backends/fs/morphos/abox-fs.cpp
index bccd77a40f..9274c3804b 100644
--- a/backends/fs/morphos/abox-fs.cpp
+++ b/backends/fs/morphos/abox-fs.cpp
@@ -312,7 +312,7 @@ bool ABoxFilesystemNode::getChildren(AbstractFSList &list, ListMode mode, bool h
{
//FIXME: since the isValid() function is no longer part of the AbstractFilesystemNode
// specification, the following call had to be changed:
- // if (entry->isValid())
+ // if (entry->isValid())
// Please verify that the logic of the code remains coherent. Also, remember
// that the isReadable() and isWritable() methods are available.
if (entry->exists())
@@ -396,7 +396,7 @@ AbstractFSList ABoxFilesystemNode::getRootChildren()
{
//FIXME: since the isValid() function is no longer part of the AbstractFilesystemNode
// specification, the following call had to be changed:
- // if (entry->isValid())
+ // if (entry->isValid())
// Please verify that the logic of the code remains coherent. Also, remember
// that the isReadable() and isWritable() methods are available.
if (entry->exists())
diff --git a/backends/fs/palmos/palmos-fs.cpp b/backends/fs/palmos/palmos-fs.cpp
index 335aa7e8dd..49d3e3dc93 100644
--- a/backends/fs/palmos/palmos-fs.cpp
+++ b/backends/fs/palmos/palmos-fs.cpp
@@ -76,7 +76,7 @@ private:
* @param mode Mode to use while adding the file entry to the list.
* @param base String with the directory being listed.
* @param find_data Describes a file that the FindFirstFile, FindFirstFileEx, or FindNextFile functions find.
- */
+ */
static void addFile(AbstractFSList &list, ListMode mode, const Char *base, FileInfoType* find_data);
};
@@ -84,8 +84,8 @@ private:
* Returns the last component of a given path.
*
* Examples:
- * /foo/bar.txt would return /bar.txt
- * /foo/bar/ would return /bar/
+ * /foo/bar.txt would return /bar.txt
+ * /foo/bar/ would return /bar/
*
* @param str String containing the path.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index 8ed6d9be6a..5cde32c851 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.cpp
@@ -84,8 +84,8 @@ private:
* Returns the last component of a given path.
*
* Examples:
- * /foo/bar.txt would return /bar.txt
- * /foo/bar/ would return /bar/
+ * /foo/bar.txt would return /bar.txt
+ * /foo/bar/ would return /bar/
*
* @param str String containing the path.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/psp/psp-fs.cpp b/backends/fs/psp/psp-fs.cpp
index 7e850e3a52..3fe6060928 100644
--- a/backends/fs/psp/psp-fs.cpp
+++ b/backends/fs/psp/psp-fs.cpp
@@ -75,8 +75,8 @@ public:
* Returns the last component of a given path.
*
* Examples:
- * /foo/bar.txt would return /bar.txt
- * /foo/bar/ would return /bar/
+ * /foo/bar.txt would return /bar.txt
+ * /foo/bar/ would return /bar/
*
* @param str String containing the path.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp
index d4c4513d90..e4482e85ce 100644
--- a/backends/fs/symbian/symbian-fs.cpp
+++ b/backends/fs/symbian/symbian-fs.cpp
@@ -81,8 +81,8 @@ public:
* Returns the last component of a given path.
*
* Examples:
- * c:\foo\bar.txt would return "\bar.txt"
- * c:\foo\bar\ would return "\bar\"
+ * c:\foo\bar.txt would return "\bar.txt"
+ * c:\foo\bar\ would return "\bar\"
*
* @param str Path to obtain the last component from.
* @return Pointer to the first char of the last component inside str.
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index a766132e94..c09735d8c5 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -79,8 +79,8 @@ public:
*
* Examples:
* path=c:\foo\bar.txt, currentDir=false -> c:\foo\bar.txt
- * path=c:\foo\bar.txt, currentDir=true -> current directory
- * path=NULL, currentDir=true -> current directory
+ * path=c:\foo\bar.txt, currentDir=true -> current directory
+ * path=NULL, currentDir=true -> current directory
*
* @param path String with the path the new node should point to.
* @param currentDir if true, the path parameter will be ignored and the resulting node will point to the current directory.
@@ -108,7 +108,7 @@ private:
* @param mode Mode to use while adding the file entry to the list.
* @param base String with the directory being listed.
* @param find_data Describes a file that the FindFirstFile, FindFirstFileEx, or FindNextFile functions find.
- */
+ */
static void addFile(AbstractFSList &list, ListMode mode, const char *base, WIN32_FIND_DATA* find_data);
/**
@@ -116,7 +116,7 @@ private:
*
* @param str String to convert from Unicode to Ascii.
* @return str in Ascii format.
- */
+ */
static char *toAscii(TCHAR *str);
/**
@@ -124,7 +124,7 @@ private:
*
* @param str String to convert from Ascii to Unicode.
* @return str in Unicode format.
- */
+ */
static const TCHAR* toUnicode(const char *str);
};
@@ -132,8 +132,8 @@ private:
* Returns the last component of a given path.
*
* Examples:
- * c:\foo\bar.txt would return "\bar.txt"
- * c:\foo\bar\ would return "\bar\"
+ * c:\foo\bar.txt would return "\bar.txt"
+ * c:\foo\bar\ would return "\bar\"
*
* @param str Path to obtain the last component from.
* @return Pointer to the first char of the last component inside str.