• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
PlaybackSoundCueItem.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
9 //
10 
11 #ifndef PLAYBACKSOUNDCUEITEM_H
12 #define PLAYBACKSOUNDCUEITEM_H
13 
14 #include "PlaybackItem.h"
15 #include "GeoDataSoundCue.h"
16 
17 #include "config-phonon.h"
18 
19 #ifdef HAVE_PHONON
20 #include <Phonon/MediaObject>
21 #include <Phonon/AudioOutput>
22 #endif
23 
24 namespace Marble
25 {
26 class PlaybackSoundCueItem : public PlaybackItem
27 {
28 public:
29  PlaybackSoundCueItem( const GeoDataSoundCue* soundCue );
30  const GeoDataSoundCue* soundCue() const;
31 #ifdef HAVE_PHONON
32  Phonon::MediaObject* mediaObject();
33 #endif
34  double duration() const;
35  void play();
36  void pause();
37  void seek( double position );
38  void stop();
39 private:
40  const GeoDataSoundCue* m_soundCue;
41 #ifdef HAVE_PHONON
42  Phonon::MediaObject* m_mediaObject;
43 #endif
44 };
45 }
46 #endif
Marble::PlaybackSoundCueItem::PlaybackSoundCueItem
PlaybackSoundCueItem(const GeoDataSoundCue *soundCue)
Definition: PlaybackSoundCueItem.cpp:15
Marble::GeoDataSoundCue
Definition: GeoDataSoundCue.h:19
GeoDataSoundCue.h
Marble::PlaybackSoundCueItem
Definition: PlaybackSoundCueItem.h:26
Phonon::MediaObject
Marble::PlaybackSoundCueItem::pause
void pause()
Definition: PlaybackSoundCueItem.cpp:54
Marble::PlaybackSoundCueItem::stop
void stop()
Definition: PlaybackSoundCueItem.cpp:68
PlaybackItem.h
Marble::PlaybackSoundCueItem::soundCue
const GeoDataSoundCue * soundCue() const
Definition: PlaybackSoundCueItem.cpp:26
Marble::PlaybackItem
Definition: PlaybackItem.h:20
Marble::PlaybackSoundCueItem::duration
double duration() const
Definition: PlaybackSoundCueItem.cpp:38
Marble::PlaybackSoundCueItem::play
void play()
Definition: PlaybackSoundCueItem.cpp:47
Marble::PlaybackSoundCueItem::seek
void seek(double position)
Definition: PlaybackSoundCueItem.cpp:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal