X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fparse-time-vrp.h;fp=lib%2Fparse-time-vrp.h;h=3bd12bf386bdca810b73e598361ddcb0b250cec9;hp=094c4f870f2784e2d3ed2979d8b5e06f07186993;hb=bbf6069252d31e6693ee99cce8bf4f9fab47e360;hpb=1871be319a28d8bba8b368f6b056d2c8448afcf6 diff --git a/lib/parse-time-vrp.h b/lib/parse-time-vrp.h index 094c4f87..3bd12bf3 100644 --- a/lib/parse-time-vrp.h +++ b/lib/parse-time-vrp.h @@ -37,4 +37,9 @@ public: Xapian::valueno operator() (std::string &begin, std::string &end); }; +#if HAVE_XAPIAN_FIELD_PROCESSOR +class DateFieldProcessor : public Xapian::FieldProcessor { + Xapian::Query operator()(const std::string & str); +}; +#endif #endif /* NOTMUCH_PARSE_TIME_VRP_H */