1 | /* |
---|---|
2 | SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-or-later |
5 | */ |
6 | |
7 | #ifndef BALOO_DOCTERMSCODEC_H |
8 | #define BALOO_DOCTERMSCODEC_H |
9 | |
10 | #include <QVector> |
11 | #include <QByteArray> |
12 | |
13 | namespace Baloo { |
14 | |
15 | class DocTermsCodec |
16 | { |
17 | public: |
18 | static QByteArray encode(const QVector<QByteArray>& terms); |
19 | static QVector<QByteArray> decode(const QByteArray& arr); |
20 | }; |
21 | } |
22 | |
23 | #endif // BALOO_DOCTERMSCODEC_H |
24 |