sources/interface.h

changeset 192
94c67ae846fc
parent 191
2e6cbacafdc7
child 195
be953e1621d9
--- a/sources/interface.h	Wed Jan 27 19:32:55 2021 +0200
+++ b/sources/interface.h	Wed Jan 27 19:39:14 2021 +0200
@@ -49,11 +49,12 @@
 	};
 
 	Interface();
+	virtual ~Interface();
 	void connect(std::string address, std::string password);
 	void disconnected();
 	RCONSession* getSession() { return &m_session; }
-	void handleCommand(const std::string& input);
-	void handleInput();
+	void handleCommand(const std::string& input, bool *shouldquit);
+	void handleInput(bool *shouldquit);
 	void needRefresh();
 	void __cdecl print(const char* fmtstr, ...) GNUATTRIBUTE((format(printf, 2, 3)));
 	void __cdecl printWarning(const char* fmtstr, ...) GNUATTRIBUTE((format(printf, 2, 3)));

mercurial