]> git.notmuchmail.org Git - notmuch/blobdiff - lib/parse-time-vrp.h
lib: optionally support single argument date: queries
[notmuch] / lib / parse-time-vrp.h
index 094c4f870f2784e2d3ed2979d8b5e06f07186993..3bd12bf386bdca810b73e598361ddcb0b250cec9 100644 (file)
@@ -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 */