mu: rework xapian dependencies a bit

Reduce the places where we need to include Xapian, and add a few places where
the (meson build) didn't explicitly have a Xapian dep where needed.
This commit is contained in:
Dirk-Jan C. Binnema
2021-11-03 12:30:37 +02:00
parent 1c95d28cde
commit 8028f88a51
9 changed files with 76 additions and 41 deletions

View File

@ -30,6 +30,7 @@
#include "utils/mu-str.h"
#include "utils/mu-date.h"
#include "utils/mu-utils.hh"
#include "utils/mu-xapian-utils.hh"
using namespace Mu;
@ -38,7 +39,7 @@ struct Mu::MuMsgDoc {
~MuMsgDoc() { delete _doc; }
const Xapian::Document doc() const { return *_doc; }
private:
private:
Xapian::Document* _doc;
};