use pt::Stream instead of pt::TextStream as the output stream

This commit is contained in:
2024-05-30 00:01:59 +02:00
parent e026af9994
commit 9a3f6a6e36
33 changed files with 615 additions and 636 deletions

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2018-2019, Tomasz Sowa
* Copyright (c) 2018-2024, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -64,8 +64,8 @@ public:
virtual pt::Log * get_logger();
virtual void set_stream(pt::TextStream & stream);
virtual pt::TextStream * get_stream();
virtual void set_stream(pt::Stream & stream);
virtual pt::Stream * get_stream();
virtual void set_flat_connector(FlatConnector & flat_connector);
virtual FlatConnector * get_flat_connector();
@@ -85,7 +85,7 @@ protected:
FlatConnector * flat_connector;
DbConnector * db_connector;
pt::TextStream * out_stream; // IMPROVE ME give here an interface to the base stream (implement him)
pt::Stream * out_stream;
bool out_stream_allocated;
Clearer * clearer;