File indexing completed on 2025-01-05 03:59:01
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com> 0004 // 0005 0006 #ifndef GEODATATOURCONTROL_H 0007 #define GEODATATOURCONTROL_H 0008 0009 #include "GeoDataTourPrimitive.h" 0010 0011 namespace Marble 0012 { 0013 0014 /** 0015 */ 0016 class DIGIKAM_EXPORT GeoDataTourControl : public GeoDataTourPrimitive 0017 { 0018 public: 0019 enum PlayMode { 0020 Play, 0021 Pause 0022 }; 0023 0024 GeoDataTourControl(); 0025 ~GeoDataTourControl() override; 0026 0027 bool operator==( const GeoDataTourControl &other ) const; 0028 bool operator!=( const GeoDataTourControl &other ) const; 0029 const char *nodeType() const override; 0030 0031 PlayMode playMode() const; 0032 void setPlayMode(PlayMode mode); 0033 0034 private: 0035 PlayMode m_playMode; 0036 }; 0037 0038 } // namespace Marble 0039 0040 #endif // GEODATATOURCONTROL_H