summaryrefslogtreecommitdiff
path: root/cmds/lshal/PipeRelay.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/lshal/PipeRelay.h')
-rw-r--r--cmds/lshal/PipeRelay.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmds/lshal/PipeRelay.h b/cmds/lshal/PipeRelay.h
index 8350160419..bd994b48b8 100644
--- a/cmds/lshal/PipeRelay.h
+++ b/cmds/lshal/PipeRelay.h
@@ -21,6 +21,8 @@
#include <utils/Errors.h>
#include <utils/RefBase.h>
+#include "NullableOStream.h"
+
namespace android {
namespace lshal {
@@ -28,7 +30,10 @@ namespace lshal {
* written to the "write"-end of the pair to the specified output stream "os".
*/
struct PipeRelay {
- explicit PipeRelay(std::ostream &os);
+ explicit PipeRelay(std::ostream& os,
+ const NullableOStream<std::ostream>& err,
+ const std::string& interfaceName,
+ const std::string& instanceName);
~PipeRelay();
status_t initCheck() const;