/* This file is part of the KDE Baloo Project SPDX-FileCopyrightText: 2013 Vishesh Handa SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef BALOO_KIO_SEARCH_H_ #define BALOO_KIO_SEARCH_H_ #include namespace Baloo { class SearchProtocol : public KIO::WorkerBase { public: SearchProtocol(const QByteArray& poolSocket, const QByteArray& appSocket); ~SearchProtocol() override; /** * */ KIO::WorkerResult listDir(const QUrl& url) override; /** * Files will be forwarded. * Folders will be created as virtual folders. */ KIO::WorkerResult mimetype(const QUrl& url) override; /** * Files will be forwarded. * Folders will be created as virtual folders. */ KIO::WorkerResult stat(const QUrl& url) override; }; } #endif