use pt::Stream instead of pt::TextStream as the output stream
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user