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

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2013 Illya Kovalevskyy <illya.kovalevskyy@gmail.com>
0004 //
0005 
0006 #ifndef GEODATASOUNDCUE_H
0007 #define GEODATASOUNDCUE_H
0008 
0009 #include "GeoDataTourPrimitive.h"
0010 
0011 #include <QString>
0012 
0013 namespace Marble
0014 {
0015 
0016 /**
0017  */
0018 class GEODATA_EXPORT GeoDataSoundCue : public GeoDataTourPrimitive
0019 {
0020 public:
0021     GeoDataSoundCue();
0022     ~GeoDataSoundCue() override;
0023 
0024     bool operator==( const GeoDataSoundCue &other ) const;
0025     bool operator!=( const GeoDataSoundCue &other ) const;
0026     const char *nodeType() const override;
0027 
0028     QString href() const;
0029     void setHref(const QString &url);
0030 
0031     double delayedStart() const;
0032     void setDelayedStart(double pause);
0033 
0034 private:
0035     QString m_href;
0036     double m_delayedStart;
0037 };
0038 
0039 } // namespace Marble
0040 
0041 #endif // GEODATASOUNDCUE_H