81 Vector<ColoredLine> m_outputLines; |
81 Vector<ColoredLine> m_outputLines; |
82 int m_outputScroll; |
82 int m_outputScroll; |
83 std::string m_title; |
83 std::string m_title; |
84 InputState m_inputState; |
84 InputState m_inputState; |
85 std::function<void(bool)> m_disconnectCallback; |
85 std::function<void(bool)> m_disconnectCallback; |
86 IPAddress m_remoteAddress; |
86 net::ip_address m_remoteAddress; |
87 std::string m_statusBarText; |
87 std::string m_statusBarText; |
88 std::vector<ColoredLine> m_playerNames; |
88 std::vector<ColoredLine> m_playerNames; |
89 std::string m_pasteBuffer; |
89 std::string m_pasteBuffer; |
90 RCONSession m_session; |
90 RCONSession m_session; |
91 |
91 |
109 void renderTitlebar(); |
109 void renderTitlebar(); |
110 void resetTitle(); |
110 void resetTitle(); |
111 void safeDisconnect(std::function<void(bool)> afterwards); |
111 void safeDisconnect(std::function<void(bool)> afterwards); |
112 void setInputState(InputState newstate); |
112 void setInputState(InputState newstate); |
113 void yank(int a, int b); |
113 void yank(int a, int b); |
|
114 bool tryResolveAddress(const std::string& address_string, net::ip_address *target); |
114 }; |
115 }; |
115 |
116 |
116 END_ZFC_NAMESPACE |
117 END_ZFC_NAMESPACE |