File indexing completed on 2024-05-19 05:57:22

0001 // SPDX-FileCopyrightText: 2023 Plata Hill <plata.hill@kdemail.net>
0002 // SPDX-License-Identifier: LGPL-2.1-or-later
0003 
0004 #pragma once
0005 
0006 #include "dataprovider.h"
0007 
0008 class LocalDataProvider : DataProvider
0009 {
0010 public:
0011     virtual ~LocalDataProvider() = default;
0012 
0013     void get(const QUrl &url, std::function<void(const QByteArray &)> callback, std::function<void(const Error &)> errorCallback = nullptr) const override;
0014 };