diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-09-13 00:01:47 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-09-13 00:01:47 +0200 |
| commit | 27a1e70b01731d1def326db91ab7c6e236b9fe34 (patch) | |
| tree | a11cb3d0f382380588a407259e997bd8a2c49358 /src/client.hh | |
| parent | 000af8e2065ab9c358986840ec8e9a9d1d3266d6 (diff) | |
Rework client name change
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh index deb44007..7c300929 100644 --- a/src/client.hh +++ b/src/client.hh @@ -73,12 +73,12 @@ public: Context& context() { return m_context; } const String& name() const { return m_name; } + void set_name(String name) { m_name = std::move(name); } UserInterface& ui() const { return *m_ui; } private: Context m_context; friend class InputMode; - friend class ClientManager; std::unique_ptr<UserInterface> m_ui; std::unique_ptr<InputMode> m_mode; std::vector<std::unique_ptr<InputMode>> m_mode_trash; |
