From e9f18f8b4fcf4ae7891b631765bcc49a4a183220 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Tue, 30 Jul 2013 22:48:59 +0200 Subject: Tab completion packet is handled and sent. This only handles the network comm and the overall design logic, the actual completion is not yet implemented, only dummy values are returned for now. --- source/PluginManager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/PluginManager.h') diff --git a/source/PluginManager.h b/source/PluginManager.h index 3832ee455..150132f9f 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -197,6 +197,9 @@ public: // tolua_export /// Executes the command split into a_Split, as if it was given on the console. Returns true if executed. Output is sent to the a_Output callback bool ExecuteConsoleCommand(const AStringVector & a_Split, cCommandOutputCallback & a_Output); + /// Appends all commands beginning with a_Text (case-insensitive) into a_Results + void TabCompleteCommand(const AString & a_Text, AStringVector & a_Results); + private: friend class cRoot; -- cgit v1.2.3