diff options
Diffstat (limited to 'Source/cmServerConnection.h')
-rw-r--r-- | Source/cmServerConnection.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Source/cmServerConnection.h b/Source/cmServerConnection.h index df404ce..7b0c9b6 100644 --- a/Source/cmServerConnection.h +++ b/Source/cmServerConnection.h @@ -45,16 +45,8 @@ public: bool OnServeStart(std::string* pString) override; private: - typedef union - { - uv_tty_t* tty; - uv_pipe_t* pipe; - } InOutUnion; - - bool usesTty = false; - - InOutUnion Input; - InOutUnion Output; + void SetupStream(uv_stream_t*& stream, int file_id); + void ShutdownStream(uv_stream_t*& stream); }; /*** |