File indexing completed on 2024-04-14 03:48:00

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
0004 //
0005 
0006 #ifndef PLAYBACKTOURCONTROLITEM_H
0007 #define PLAYBACKTOURCONTROLITEM_H
0008 
0009 #include "PlaybackItem.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 class GeoDataTourControl;
0015 
0016 class PlaybackTourControlItem : public PlaybackItem
0017 {
0018 public:
0019     explicit PlaybackTourControlItem( const GeoDataTourControl* tourControl );
0020     const GeoDataTourControl* tourControl() const;
0021     double duration() const override;
0022     void play() override;
0023     void pause() override;
0024     void seek( double position ) override;
0025     void stop() override;
0026 private:
0027     const GeoDataTourControl* m_tourControl;
0028 };
0029 
0030 }
0031 #endif