aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-24 12:13:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-24 12:19:31 -0800
commita515db4aea51a032b06eb463fcc5a5b70066a18c (patch)
tree68774c3b9afbdadfbdde6ecdf8934b3099cdb331 /wildcard.h
parent90e979d0d9a94601fc9a0c1e5ad785ede1e92381 (diff)
Some work to allow completions to be evaluated off of the main thread
Diffstat (limited to 'wildcard.h')
-rw-r--r--wildcard.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wildcard.h b/wildcard.h
index e6db7099..af15e9ab 100644
--- a/wildcard.h
+++ b/wildcard.h
@@ -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