From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/filesystem/file.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/filesystem/file.h') diff --git a/src/filesystem/file.h b/src/filesystem/file.h index daef174..a5daf34 100644 --- a/src/filesystem/file.h +++ b/src/filesystem/file.h @@ -10,7 +10,8 @@ // C++ headers #include -namespace filesystem { +namespace filesystem +{ /** * @brief an abstract interface to handle file access @@ -29,17 +30,21 @@ public: virtual FILE *handle(); - /// read bytes + /// read bytes virtual size_t read(void *buffer, size_t count) = 0; /// skip bytes virtual void skip(size_t count) = 0; /// name of the file in the virtual filesystem - inline const std::string name() const { return file_name; } + inline const std::string name() const { + return file_name; + } /// the path holding the virtual filename - inline const std::string path() const { return file_path; } + inline const std::string path() const { + return file_path; + } protected: std::string file_name; -- cgit v1.2.3