1/*
2 This file is part of the KDE Baloo Project
3 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#ifndef BALOO_POSITIONCODEC_H
9#define BALOO_POSITIONCODEC_H
10
11#include <QByteArray>
12#include <QVector>
13
14#include "positiondb.h"
15
16namespace Baloo {
17
18class PositionCodec
19{
20public:
21 static QByteArray encode(const QVector<PositionInfo>& list);
22 static QVector<PositionInfo> decode(const QByteArray& arr);
23};
24}
25
26#endif // BALOO_POSITIONCODEC_H
27

source code of baloo/src/codecs/positioncodec.h