diff options
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh index ac191542..56b8504b 100644 --- a/src/client.hh +++ b/src/client.hh @@ -5,6 +5,7 @@ #include "utils.hh" #include "display_buffer.hh" #include "input_handler.hh" +#include "env_vars.hh" namespace Kakoune { @@ -17,7 +18,9 @@ class Client : public SafeCountable public: Client(std::unique_ptr<UserInterface>&& ui, std::unique_ptr<Window>&& window, - SelectionList selections, String name); + SelectionList selections, + EnvVarMap env_vars, + String name); ~Client(); // handle all the keys currently available in the user interface @@ -37,12 +40,16 @@ public: void change_buffer(Buffer& buffer); + const String& get_env_var(const String& name) const; + private: DisplayLine generate_mode_line() const; std::unique_ptr<UserInterface> m_ui; std::unique_ptr<Window> m_window; + EnvVarMap m_env_vars; + InputHandler m_input_handler; DisplayLine m_status_line; |
