File indexing completed on 2024-05-12 15:36:35
0001 /* This file is part of the KDE libraries 0002 Copyright (C) 2002 Rolf Magnus <ramagnus@kde.org> 0003 0004 This library is free software; you can redistribute it and/or 0005 modify it under the terms of the GNU Library General Public 0006 License as published by the Free Software Foundation version 2.0 0007 0008 This library is distributed in the hope that it will be useful, 0009 but WITHOUT ANY WARRANTY; without even the implied warranty of 0010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0011 Library General Public License for more details. 0012 0013 You should have received a copy of the GNU Library General Public License 0014 along with this library; see the file COPYING.LIB. If not, write to 0015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0016 Boston, MA 02110-1301, USA. 0017 */ 0018 0019 #ifndef _METAINFO_H_ 0020 #define _METAINFO_H_ 0021 0022 #include <kio/slavebase.h> 0023 0024 class MetaInfoProtocol : public KIO::SlaveBase 0025 { 0026 public: 0027 MetaInfoProtocol(const QByteArray &pool, const QByteArray &app); 0028 ~MetaInfoProtocol() override; 0029 0030 void get(const QUrl &url) override; 0031 void put(const QUrl &url, int permissions, 0032 KIO::JobFlags flags) override; 0033 0034 }; 0035 0036 #endif