File indexing completed on 2024-04-28 07:40:02
0001 /* 0002 This file is part of the KDE Baloo Project 0003 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.1-or-later 0006 */ 0007 0008 #ifndef BALOO_POSITIONCODEC_H 0009 #define BALOO_POSITIONCODEC_H 0010 0011 #include <QByteArray> 0012 #include <QVector> 0013 0014 #include "positiondb.h" 0015 0016 namespace Baloo { 0017 0018 class PositionCodec 0019 { 0020 public: 0021 static QByteArray encode(const QVector<PositionInfo>& list); 0022 static QVector<PositionInfo> decode(const QByteArray& arr); 0023 }; 0024 } 0025 0026 #endif // BALOO_POSITIONCODEC_H