QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCTileCacheTypes.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QString>
4
5#include <functional>
6
8 quint64 setID = 0;
9 QString name;
10 QString mapTypeStr;
11 double topleftLat = 0.;
12 double topleftLon = 0.;
13 double bottomRightLat = 0.;
14 double bottomRightLon = 0.;
15 int minZoom = 3;
16 int maxZoom = 3;
17 int type = -1;
18 quint32 numTiles = 0;
19 bool defaultSet = false;
20 quint64 date = 0;
21};
22
24 quint32 totalCount = 0;
25 quint64 totalSize = 0;
26 quint32 defaultCount = 0;
27 quint64 defaultSize = 0;
28};
29
31 quint32 savedTileCount = 0;
32 quint64 savedTileSize = 0;
33 quint64 totalTileSize = 0;
34 quint32 uniqueTileCount = 0;
35 quint64 uniqueTileSize = 0;
36};
37
39 bool success = false;
40 QString errorString;
41};
42
43using ProgressCallback = std::function<void(int)>;
std::function< void(int)> ProgressCallback