summaryrefslogtreecommitdiff
path: root/src/BufferedFile.h
Commit message (Collapse)AuthorAgeFilesLines
* Use global::cout to output string to stdout.Tatsuhiro Tsujikawa2011-08-091-5/+6
| | | | | | | In MinGW32 build, global::cout is WinConsoleFile. When outputing to console, it uses WriteConsoleW, so Unicode characters are written. Fixed memory leak in WChar<->MultiByte conversion functions. The portion of code which uses std::cout is rewritten to use global::cout.
* Added printf and flush method to BufferedFile.Tatsuhiro Tsujikawa2011-08-071-0/+7
|
* Read aria2.conf using BufferedFileTatsuhiro Tsujikawa2011-08-071-0/+4
| | | | Read aria2.conf using BufferedFile. Added BufferedFile::transfer().
* Don't allow copying BufferedFileTatsuhiro Tsujikawa2011-08-071-0/+4
|
* Removed feof from operator unspecified_bool_type. Added eof().Tatsuhiro Tsujikawa2011-08-071-0/+2
| | | | | In BufferedFile, removed feof from operator unspecified_bool_type. EOF can be queried separately using newly added eof().
* Added fopen/fread/fwrite/fgets wrapper class.Tatsuhiro Tsujikawa2011-08-061-0/+78