mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Allow "field:query" in the quick filter bar
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <script/scriptable.hpp>
|
||||
#include <util/dynamic_arg.hpp>
|
||||
#include <util/regex.hpp>
|
||||
#include <data/filter.hpp>
|
||||
|
||||
DECLARE_POINTER_TYPE(KeywordParam);
|
||||
DECLARE_POINTER_TYPE(KeywordMode);
|
||||
@@ -116,7 +117,7 @@ class Keyword : public IntrusivePtrVirtualBase {
|
||||
void prepare(const vector<KeywordParamP>& param_types, bool force = false);
|
||||
|
||||
/// Does the keyword contain the given query word?
|
||||
bool contains(String const& word) const;
|
||||
bool contains(QuickFilterPart const& query) const;
|
||||
|
||||
DECLARE_REFLECTION();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user