summaryrefslogtreecommitdiff
path: root/MessageFilter.hpp
blob: c15cff6f1a08738cdc1f7d16dacc5a1cd513bb7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MESSAGEFILTER_HPP
#define MESSAGEFILTER_HPP

#include <QString>
#include <QStringList>

class MessageFilter
{
public:
    static bool containsAny(const QString& text, const QStringList& keywords);
    static bool startsWithAny(const QString& text, const QStringList& keywords);
};

#endif // MESSAGEFILTER_HPP