File indexing completed on 2024-04-21 03:51:48
0001 /* 0002 This file is part of the KDE Baloo Project 0003 SPDX-FileCopyrightText: 2021 Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de> 0004 0005 SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-KDE-Accepted-LGPL 0006 */ 0007 0008 #ifndef BALOO_RESULT_H 0009 #define BALOO_RESULT_H 0010 0011 #include <vector> 0012 #include <QByteArray> 0013 0014 namespace Baloo 0015 { 0016 class Result { 0017 public: 0018 Result(QByteArray&& path, quint64 id) : filePath(path), documentId(id) {}; 0019 0020 QByteArray filePath; 0021 quint64 documentId = 0; 0022 }; 0023 0024 class ResultList : public std::vector<Baloo::Result> {}; 0025 0026 } 0027 0028 #endif // BALOO_RESULT_H