From e8ee8c23d837d64b1df1d39a97acb88c7cb207de Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 21 Jan 2017 12:14:44 +0000 Subject: Support the +line syntax for clients as well. Fix a crash on daemon quit as well. --- src/remote.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/remote.hh') diff --git a/src/remote.hh b/src/remote.hh index 111a4973..b0cad37c 100644 --- a/src/remote.hh +++ b/src/remote.hh @@ -22,6 +22,9 @@ struct disconnected : runtime_error class FDWatcher; class UserInterface; +template struct Optional; +struct BufferCoord; + using RemoteBuffer = Vector; // A remote client handle communication between a client running on the server @@ -30,7 +33,8 @@ class RemoteClient { public: RemoteClient(StringView session, std::unique_ptr&& ui, - const EnvVarMap& env_vars, StringView init_command); + const EnvVarMap& env_vars, StringView init_command, + Optional init_coord); private: std::unique_ptr m_ui; -- cgit v1.2.3