1 /**********************************************************************************************
2     Copyright (C) 2016 Oliver Eichler <oliver.eichler@gmx.de>
3 
4     This program is free software: you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation, either version 3 of the License, or
7     (at your option) any later version.
8 
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 
14     You should have received a copy of the GNU General Public License
15     along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 
17 **********************************************************************************************/
18 
19 #ifndef CDEVICEGARMINARCHIVE_H
20 #define CDEVICEGARMINARCHIVE_H
21 
22 #include "device/IDevice.h"
23 
24 #include <QCoreApplication>
25 #include <QDir>
26 #include <QObject>
27 
28 class CDeviceGarmin;
29 
30 class CDeviceGarminArchive : public QObject, public IDevice
31 {
32     Q_OBJECT
33 public:
34     CDeviceGarminArchive(const QString& path, CDeviceGarmin* parent);
35     virtual ~CDeviceGarminArchive() = default;
36 
37 protected:
insertCopyOfProject(IGisProject * project)38     void insertCopyOfProject(IGisProject* project) override {}
39 
40 private slots:
41     void slotExpanded(QTreeWidgetItem* item);
42     void slotCollapsed(QTreeWidgetItem* item);
43 };
44 
45 #endif //CDEVICEGARMINARCHIVE_H
46 
47