File indexing completed on 2024-04-28 03:49:05

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2013 Mihail Ivchenko <ematirov@gmail.com>
0004 //
0005 
0006 #ifndef GEODATAWAIT_H
0007 #define GEODATAWAIT_H
0008 
0009 #include "GeoDataTourPrimitive.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 /**
0015  */
0016 class GEODATA_EXPORT GeoDataWait : public GeoDataTourPrimitive
0017 {
0018 public:
0019 
0020     GeoDataWait();
0021     ~GeoDataWait() override;
0022 
0023     bool operator==(const GeoDataWait &other) const;
0024     bool operator!=(const GeoDataWait &other) const;
0025     const char *nodeType() const override;
0026 
0027     double duration() const;
0028     void setDuration(double duration);
0029 
0030 private:
0031     double m_duration;
0032 };
0033 
0034 } // namespace Marble
0035 
0036 #endif // GEODATATOURCONTROL_H