Mercurial > hg > octave-lyh
diff liboctave/cmd-edit.h @ 4604:cba347c642e2
[project @ 2003-11-13 04:38:05 by jwe]
author | jwe |
---|---|
date | Thu, 13 Nov 2003 04:38:05 +0000 |
parents | 62afb31c1f85 |
children | b3f20980be32 |
line wrap: on
line diff
--- a/liboctave/cmd-edit.h +++ b/liboctave/cmd-edit.h @@ -27,6 +27,8 @@ #include <string> +#include "str-vec.h" + class command_editor { @@ -85,6 +87,8 @@ static completion_fcn get_completion_function (void); + static string_vector generate_filename_completions (const std::string& text); + static void insert_text (const std::string& text); static void newline (void); @@ -177,6 +181,8 @@ virtual completion_fcn do_get_completion_function (void) const { return 0; } + virtual string_vector do_generate_filename_completions (const std::string& text) = 0; + virtual void do_insert_text (const std::string&) = 0; virtual void do_newline (void) = 0;