Allow filepath autocompletion in plugins

closes #858
This commit is contained in:
James Booth
2016-10-10 22:28:23 +01:00
parent d485588a07
commit dcc2123ec4
12 changed files with 229 additions and 111 deletions

View File

@@ -93,6 +93,13 @@ Remove all values from autocompletion for a command, or command argument.
*/
void prof_completer_clear(const char *key);
/**
Add filepath autocompletion for a command, or command argument.
@param prefix the prefix from which filepath autocompletion will be triggered
*/
void prof_filepath_completer_add(const char *prefix);
/**
Send a desktop notification.
@param message the message to display in the notification