1 //===-- StreamAsynchronousIO.h -----------------------------------*- C++
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef liblldb_StreamAsynchronousIO_h_
12 #define liblldb_StreamAsynchronousIO_h_
16 #include "lldb/Core/Stream.h"
18 namespace lldb_private {
20 class StreamAsynchronousIO : public Stream {
22 StreamAsynchronousIO(Debugger &debugger, bool for_stdout);
24 ~StreamAsynchronousIO() override;
26 void Flush() override;
28 size_t Write(const void *src, size_t src_len) override;
36 } // namespace lldb_private
38 #endif // liblldb_StreamAsynchronousIO_h