7 #include "search_filter.hpp"
9 #include <ossia/network/base/node.hpp>
20 #pragma mark t_fuzzysearch structure declaration
22 struct fuzzysearch : search_filter
28 long m_case_sensitive{};
30 std::set<ossia::net::node_base*> m_roots;
31 std::vector<std::string> patterns;
32 std::vector<ossia::net::fuzzysearch_result> matches;
34 fuzzysearch(
long argc, t_atom* argv);
37 search(ossia::max_binding::fuzzysearch* x, t_symbol* s,
long argc, t_atom* argv);
38 static void free(ossia::max_binding::fuzzysearch* x);
40 notify(fuzzysearch* x, t_symbol* s, t_symbol* msg,
void* sender,
void* data);
42 static void assist(fuzzysearch* x,
void* b,
long m,
long a,
char* s);
48 #pragma mark ossia_fuzzysearch class declaration
51 void* ossia_fuzzysearch_new(t_symbol* s,
long argc, t_atom* argv);