diff options
Diffstat (limited to '')
-rw-r--r-- | src/utils/text_file.hpp (renamed from src/utils/unicode_file.hpp) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/utils/unicode_file.hpp b/src/utils/text_file.hpp index d135d796..b5249035 100644 --- a/src/utils/unicode_file.hpp +++ b/src/utils/text_file.hpp @@ -24,8 +24,8 @@ * $Id$ */ -#ifndef UNICODE_FILE_HPP -#define UNICODE_FILE_HPP +#ifndef TEXT_FILE_HPP +#define TEXT_FILE_HPP #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> @@ -33,17 +33,17 @@ namespace usdx { - class UnicodeFile : public File + class TextFile : public File { private: - boost::filesystem::wifstream file; + boost::filesystem::ifstream file; public: - UnicodeFile(const std::string& filename); - UnicodeFile(const boost::filesystem::wpath& path); - virtual ~UnicodeFile(void); + TextFile(const std::string& filename); + TextFile(const boost::filesystem::wpath& path); + virtual ~TextFile(void); - boost::filesystem::wifstream &stream(void); + boost::filesystem::ifstream &stream(void); const std::streamsize get_filesize(void); }; }; |