summaryrefslogtreecommitdiff
path: root/MessageFilterRules.hpp
blob: 88e0e6180c6f86ab4abf5223c49dd032129c38a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MESSAGEFILTERRULES_HPP
#define MESSAGEFILTERRULES_HPP

#include "MessageFilterLogic.hpp"

#include <QString>

namespace MessageFilterRules
{
  struct Evaluation
  {
    MessageFilterLogic::FilterResult result;
    bool filtersApplied {false};
  };

  Evaluation evaluateMSK144Text(QString text, MessageFilterLogic::FilterContext const& ctx);
}

#endif // MESSAGEFILTERRULES_HPP