From 82c81858c65c80fb667e73ffdcc4ff69007cfa17 Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Thu, 15 Jul 2021 22:53:30 +0300 Subject: Support "-" for input/output files as stdin/stdout. Support dumping output file to stdout. Switch logger to stderr, make it multithreaded. Log input/output files. Closes #8, closes #10, closes #13. --- src/configuration.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/configuration.hpp') diff --git a/src/configuration.hpp b/src/configuration.hpp index d7627ee..db3be73 100644 --- a/src/configuration.hpp +++ b/src/configuration.hpp @@ -21,6 +21,7 @@ class Configuration { private: std::optional input_filename_; std::optional output_filename_; + bool dump_to_stdout_; std::size_t block_size_; double rate_; @@ -76,6 +77,7 @@ public: Configuration GetForLive() const; const auto & GetInputFilename() const { return input_filename_; } const auto & GetOutputFilename() const { return output_filename_; } + const auto MustDumpToStdout() const { return dump_to_stdout_; } /* input getters */ auto GetBlockSize() const { return block_size_; } -- cgit v1.2.3