#ifndef PLUGKIT_FILTER_HPP
#define PLUGKIT_FILTER_HPP

#include <string>
#include <v8.h>

namespace plugkit {

class FrameView;

class Filter final {
public:
  Filter(const std::string &body);
  ~Filter();
  void test(char *results, const FrameView *const *begin, size_t size) const;

private:
  class Private;
  std::unique_ptr<Private> d;
};
} // namespace plugkit
#endif
