File indexing completed on 2024-04-21 03:51:38

0001 /*
0002     SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #ifndef BALOO_DOCTERMSCODEC_H
0008 #define BALOO_DOCTERMSCODEC_H
0009 
0010 #include <QVector>
0011 #include <QByteArray>
0012 
0013 namespace Baloo {
0014 
0015 class DocTermsCodec
0016 {
0017 public:
0018     static QByteArray encode(const QVector<QByteArray>& terms);
0019     static QVector<QByteArray> decode(const QByteArray& arr);
0020 };
0021 }
0022 
0023 #endif // BALOO_DOCTERMSCODEC_H