diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/data_snk.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/data_snk.h b/include/data_snk.h index 9cdf603ab..34bdaa35e 100644 --- a/include/data_snk.h +++ b/include/data_snk.h @@ -32,13 +32,15 @@ class DataSink_Stream : public DataSink { public: void write(const byte[], u32bit); - DataSink_Stream(std::ostream&); + + DataSink_Stream(std::ostream&, const std::string& = ""); DataSink_Stream(const std::string&, bool = false); ~DataSink_Stream(); private: - const std::string fsname; + const std::string identifier; + const bool owner; + std::ostream* sink; - bool owns; }; } |