]> git.notmuchmail.org Git - notmuch/blobdiff - lib/thread-fp.h
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / lib / thread-fp.h
index 47c066c1067967e2d8f9939c3ae0bc69fea2b8b0..00bf1aa286f78cfd6acaa6268fc291e72984e796 100644 (file)
 #include <xapian.h>
 #include "notmuch.h"
 
-#if HAVE_XAPIAN_FIELD_PROCESSOR
 class ThreadFieldProcessor : public Xapian::FieldProcessor {
- protected:
+protected:
     Xapian::QueryParser &parser;
     notmuch_database_t *notmuch;
 
- public:
+public:
     ThreadFieldProcessor (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_THREAD_FP_H */