diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-08 10:26:04 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:49 +0100 |
commit | c1c799117e7076046182e12d71d06e2c9444e9be (patch) | |
tree | 7940de26d0c786134fa103703320bd3efcbba00c /src/utils/unicode_file.hpp | |
parent | 31ba94d4efa6e3f64ffacf1711438e88d8b3035d (diff) | |
download | usdx-c1c799117e7076046182e12d71d06e2c9444e9be.tar.gz usdx-c1c799117e7076046182e12d71d06e2c9444e9be.tar.xz usdx-c1c799117e7076046182e12d71d06e2c9444e9be.zip |
changed all wstring/wchar_t to string/char
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); }; }; |