diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-12-08 21:48:18 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-12-08 21:48:18 +0900 |
| commit | e86fd44dc5a87d64efc18652b2833ae17b72bf10 (patch) | |
| tree | 557a4e62c7feb46e64c87aaeee6724ed207ee13c /src/BufferedFile.h | |
| parent | 9a5fff0de095078932e2878338acaa12a5c9daa3 (diff) | |
Console color output
Log level and download result string is now colored.
Diffstat (limited to 'src/BufferedFile.h')
| -rw-r--r-- | src/BufferedFile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BufferedFile.h b/src/BufferedFile.h index aeba3a85..0e267f0a 100644 --- a/src/BufferedFile.h +++ b/src/BufferedFile.h @@ -77,6 +77,7 @@ public: virtual int printf(const char* format, ...); // wrapper for fflush virtual int flush(); + virtual bool supportsColor(); // Mode for reading static const char READ[]; // Mode for writing @@ -91,6 +92,7 @@ private: FILE* fp_; // true when file has been opened. bool open_; + bool supportsColor_; }; } // namespace aria2 |
