diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-07 17:56:30 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-07 17:56:30 +0100 |
commit | 35a3afc591c85999de856c21dbb493e341951d91 (patch) | |
tree | f46b6a8c22e5bdb283148e48e0391c2691bcc343 /sinksh/sinksh_utils.h | |
parent | 470203f1c09fa1811ae2859520c168901d5fa6cd (diff) | |
download | sink-35a3afc591c85999de856c21dbb493e341951d91.tar.gz sink-35a3afc591c85999de856c21dbb493e341951d91.zip |
Share query syntax
Diffstat (limited to 'sinksh/sinksh_utils.h')
-rw-r--r-- | sinksh/sinksh_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sinksh/sinksh_utils.h b/sinksh/sinksh_utils.h index 051c616..e251803 100644 --- a/sinksh/sinksh_utils.h +++ b/sinksh/sinksh_utils.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "common/store.h" | 27 | #include "common/store.h" |
28 | 28 | ||
29 | #include "state.h" | 29 | #include "state.h" |
30 | #include "syntaxtree.h" | ||
30 | 31 | ||
31 | namespace SinkshUtils { | 32 | namespace SinkshUtils { |
32 | 33 | ||
@@ -42,6 +43,8 @@ QStringList resourceOrTypeCompleter(const QStringList &commands, const QString & | |||
42 | QStringList typeCompleter(const QStringList &commands, const QString &fragment, State &state); | 43 | QStringList typeCompleter(const QStringList &commands, const QString &fragment, State &state); |
43 | QStringList debugareaCompleter(const QStringList &, const QString &fragment, State &state); | 44 | QStringList debugareaCompleter(const QStringList &, const QString &fragment, State &state); |
44 | QMap<QString, QString> keyValueMapFromArgs(const QStringList &args); | 45 | QMap<QString, QString> keyValueMapFromArgs(const QStringList &args); |
46 | bool applyFilter(Sink::Query &query, const QStringList &args); | ||
47 | bool applyFilter(Sink::Query &query, const SyntaxTree::Options &args); | ||
45 | 48 | ||
46 | /** | 49 | /** |
47 | * A small abstraction layer to use the sink store with the type available as string. | 50 | * A small abstraction layer to use the sink store with the type available as string. |