File indexing completed on 2024-05-12 03:50:09

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2013 Mayank Madan <maddiemadan@gmail.com>
0004 //
0005 
0006 
0007 #ifndef MARBLE_GEODATACAMERA_P_H
0008 #define MARBLE_GEODATACAMERA_P_H
0009 
0010 #include "GeoDataCoordinates.h"
0011 
0012 #include <QAtomicInt>
0013 
0014 namespace Marble
0015 {
0016 
0017 class GeoDataCameraPrivate
0018 {
0019  public :
0020     GeoDataCameraPrivate()
0021         : m_coordinates(),
0022           m_roll( 0.0 ),
0023           m_heading( 0.0 ),
0024           m_tilt( 0.0 ),
0025           ref( 1 )
0026     {
0027     }
0028 
0029     GeoDataCoordinates m_coordinates;
0030     qreal m_roll;
0031     qreal m_heading;
0032     qreal m_tilt;
0033 
0034     QAtomicInt ref;
0035 };
0036 
0037 } // namespace Marble
0038 
0039 #endif