Marble

Tile.h
1  /*
2  Copyright 2010 Jens-Michael Hoffmann <[email protected]>
3 
4  Copyright 2012 Ander Pijoan <[email protected]>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public
17  License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef MARBLE_TILE_H
21 #define MARBLE_TILE_H
22 
23 #include "TileId.h"
24 
25 namespace Marble
26 {
27 
53 class Tile
54 {
55  public:
56  explicit Tile( TileId const & tileId );
57  virtual ~Tile();
58 
63  TileId const & id() const;
64 
65  private:
66  Q_DISABLE_COPY( Tile )
67 
68  TileId const m_id;
69 };
70 
71 
72 // inline definitions
73 
74 inline TileId const & Tile::id() const
75 {
76  return m_id;
77 }
78 
79 }
80 
81 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
TileId const & id() const
Returns a unique ID for the tile.
Definition: Tile.h:74
A class that resembles a tile (then it is extended to TextureTile or Vectortile). ...
Definition: Tile.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jul 13 2020 23:19:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.