]> git.notmuchmail.org Git - notmuch/blobdiff - lib/query-fp.h
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / lib / query-fp.h
index d6e4b31394f4f8eef3d3eebd9ee6b704be26284f..beaaf4054cd921b508b25acaa5a719f072033ab3 100644 (file)
 #include <xapian.h>
 #include "notmuch.h"
 
-#if HAVE_XAPIAN_FIELD_PROCESSOR
 class QueryFieldProcessor : public Xapian::FieldProcessor {
- protected:
+protected:
     Xapian::QueryParser &parser;
     notmuch_database_t *notmuch;
 
- public:
+public:
     QueryFieldProcessor (Xapian::QueryParser &parser_, notmuch_database_t *notmuch_)
-       : parser(parser_), notmuch(notmuch_) { };
+       : parser (parser_), notmuch (notmuch_)
+    {
+    };
 
-    Xapian::Query operator()(const std::string & str);
+    Xapian::Query operator() (const std::string & str);
 };
-#endif
+
 #endif /* NOTMUCH_QUERY_FP_H */