File indexing completed on 2024-05-05 03:50:46
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2017 Spencer Brown <spencerbrown991@gmail.com> 0004 // 0005 0006 #ifndef NOTESMODEL_H 0007 #define NOTESMODEL_H 0008 0009 #include "AbstractDataPluginModel.h" 0010 0011 namespace Marble 0012 { 0013 0014 class NotesModel : public AbstractDataPluginModel 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 explicit NotesModel(const MarbleModel *marbleModel, QObject *parent = nullptr); 0020 0021 protected: 0022 void getAdditionalItems(const GeoDataLatLonAltBox& box, qint32 number = 10) override; 0023 void parseFile(const QByteArray& file) override; 0024 }; 0025 } 0026 0027 #endif