diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-24 12:13:35 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-24 12:19:31 -0800 |
commit | a515db4aea51a032b06eb463fcc5a5b70066a18c (patch) | |
tree | 68774c3b9afbdadfbdde6ecdf8934b3099cdb331 /wildcard.h | |
parent | 90e979d0d9a94601fc9a0c1e5ad785ede1e92381 (diff) |
Some work to allow completions to be evaluated off of the main thread
Diffstat (limited to 'wildcard.h')
-rw-r--r-- | wildcard.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,6 +17,7 @@ #include "util.h" #include "common.h" +#include "expand.h" /* Use unencoded private-use keycodes for internal characters @@ -66,7 +67,7 @@ enum \return 1 if matches where found, 0 otherwise. Return -1 on abort (I.e. ^C was pressed). */ -int wildcard_expand_string(const wcstring &wc, const wcstring &base_dir, int flags, std::vector<completion_t> &out ); +int wildcard_expand_string(const wcstring &wc, const wcstring &base_dir, expand_flags_t flags, std::vector<completion_t> &out ); /** Test whether the given wildcard matches the string @@ -90,6 +91,6 @@ int wildcard_complete( const wchar_t *str, const wchar_t *desc, const wchar_t *(*desc_func)(const wcstring &), std::vector<completion_t> &out, - int flags ); + expand_flags_t flags ); #endif |