many: update for lib/message updates

Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
This commit is contained in:
Dirk-Jan C. Binnema
2022-03-20 14:12:41 +02:00
parent 4c4fb1759f
commit f7c84006d7
32 changed files with 528 additions and 580 deletions

View File

@ -24,7 +24,7 @@
#include <iostream>
#include <regex>
#include <mu-message.hh>
#include <message/mu-message.hh>
#include <utils/mu-utils.hh>
namespace Mu {
@ -38,11 +38,11 @@ struct Data {
Type type; /**< type of data */
std::string field; /**< full name of the field */
std::string prefix; /**< Xapian prefix for thef field */
Message::Field::Id id; /**< Xapian value no for the field */
Field::Id id; /**< The field */
protected:
Data(Type _type, const std::string& _field, const std::string& _prefix,
Message::Field::Id _id)
Field::Id _id)
: type(_type), field(_field), prefix(_prefix), id(_id)
{
}
@ -82,7 +82,7 @@ struct Range : public Data {
*/
Range(const std::string& _field,
const std::string& _prefix,
Message::Field::Id _id,
Field::Id _id,
const std::string& _lower,
const std::string& _upper)
:
@ -110,7 +110,7 @@ struct Value : public Data {
*/
Value(const std::string& _field,
const std::string& _prefix,
Message::Field::Id _id,
Field::Id _id,
const std::string& _value,
bool _phrase = false)
: Data(Value::Type::Value, _field, _prefix, _id), value(_value), phrase(_phrase)