File indexing completed on 2024-09-22 05:15:58

0001 /*
0002     This file is part of the Okteta Kasten module, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef KASTEN_EXTERNALBOOKMARKSTORAGE_HPP
0010 #define KASTEN_EXTERNALBOOKMARKSTORAGE_HPP
0011 
0012 class KBookmarkManager;
0013 class QUrl;
0014 
0015 namespace Kasten {
0016 class ByteArrayDocument;
0017 
0018 class ExternalBookmarkStorage
0019 {
0020 public:
0021     ExternalBookmarkStorage();
0022 
0023     ~ExternalBookmarkStorage();
0024 
0025 public:
0026     void readBookmarks(ByteArrayDocument* document, const QUrl& url);
0027     void writeBookmarks(ByteArrayDocument* document, const QUrl& url);
0028 
0029 private:
0030     KBookmarkManager* mBookmarkManager;
0031 };
0032 
0033 }
0034 
0035 #endif