File indexing completed on 2024-12-08 06:40:37

0001 /*
0002     SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #ifndef MESSAGEBOXWORKER_H
0008 #define MESSAGEBOXWORKER_H
0009 
0010 // KF
0011 #include <KIO/WorkerBase>
0012 
0013 // See README
0014 class MessageBoxWorker : public KIO::WorkerBase
0015 {
0016 public:
0017     MessageBoxWorker(const QByteArray &pool_socket, const QByteArray &app_socket);
0018     ~MessageBoxWorker() override;
0019 
0020 public: // KIO::WorkerBase API
0021     KIO::WorkerResult get(const QUrl &url) override;
0022     KIO::WorkerResult stat(const QUrl &url) override;
0023     KIO::WorkerResult listDir(const QUrl &url) override;
0024 };
0025 
0026 #endif