diff options
author | David Corrales | 2007-08-18 05:24:18 +0000 |
---|---|---|
committer | David Corrales | 2007-08-18 05:24:18 +0000 |
commit | 1dc13a641dd82825334e81bb3eb3b4ebd69d2552 (patch) | |
tree | 3742d54ef20917ea4afdd88f8448b8479a4c583e /backends/file/posix | |
parent | 6856535010bd2fa4449bcfde1c88dc06cd46e26f (diff) | |
download | scummvm-rg350-1dc13a641dd82825334e81bb3eb3b4ebd69d2552.tar.gz scummvm-rg350-1dc13a641dd82825334e81bb3eb3b4ebd69d2552.tar.bz2 scummvm-rg350-1dc13a641dd82825334e81bb3eb3b4ebd69d2552.zip |
Merged some of the changes from the trunk patch back in to the GSoC fsnode branch.
svn-id: r28649
Diffstat (limited to 'backends/file/posix')
-rw-r--r-- | backends/file/posix/posix-file.cpp | 4 | ||||
-rw-r--r-- | backends/file/posix/posix-file.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/backends/file/posix/posix-file.cpp b/backends/file/posix/posix-file.cpp index 84c82fa5c5..7419161ccd 100644 --- a/backends/file/posix/posix-file.cpp +++ b/backends/file/posix/posix-file.cpp @@ -1,5 +1,7 @@ #include "backends/file/posix/posix-file.h" +namespace Common { + POSIXFile::POSIXFile() : BaseFile() { // } @@ -39,3 +41,5 @@ long POSIXFile::_ftell(FILE *stream) const { int POSIXFile::_fwrite(const void * ptr, size_t obj_size, size_t count, FILE * stream) { return fwrite(ptr, obj_size, count, stream); } + +} // End of namespace Common diff --git a/backends/file/posix/posix-file.h b/backends/file/posix/posix-file.h index 00ce307df5..e74338b8d8 100644 --- a/backends/file/posix/posix-file.h +++ b/backends/file/posix/posix-file.h @@ -27,6 +27,8 @@ #include "backends/file/base-file.cpp" +namespace Common { + /** * Implements several POSIX specific file related functions used by the Common::File wrapper. * @@ -47,4 +49,6 @@ protected: int _fwrite(const void * ptr, size_t obj_size, size_t count, FILE * stream); }; +} // End of namespace Common + #endif //BACKENDS_POSIX_FILE_H |