X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fparse-time-vrp.h;h=c024dba2fed59035b4adcf57b0a5f04435efb3d7;hb=13a59c4a8fc4ee418424e0b7ee4c8bbd5aae5da2;hp=094c4f870f2784e2d3ed2979d8b5e06f07186993;hpb=90cd1bac4eeb0d57fbe2740625aaa58d8d925ee5;p=notmuch diff --git a/lib/parse-time-vrp.h b/lib/parse-time-vrp.h index 094c4f87..c024dba2 100644 --- a/lib/parse-time-vrp.h +++ b/lib/parse-time-vrp.h @@ -15,7 +15,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Jani Nikula */ @@ -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 */