7#include "search_filter.hpp"
9#include <ossia/network/base/node.hpp>
20#pragma mark t_fuzzysearch structure declaration
22struct 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;
38 search(ossia::max_binding::fuzzysearch* x, t_symbol* s,
long argc, t_atom* argv);
39 static void free(ossia::max_binding::fuzzysearch* x);
41 notify(fuzzysearch* x, t_symbol* s, t_symbol* msg,
void* sender,
void* data);
43 static void assist(fuzzysearch* x,
void* b,
long m,
long a,
char* s);
49#pragma mark ossia_fuzzysearch class declaration
52void* ossia_fuzzysearch_new(t_symbol* s,
long argc, t_atom* argv);