TDME2
1.9.200
src
tdme
tools
editor
views
PlayableSoundView.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <
tdme/tdme.h
>
6
#include <
tdme/tools/editor/views/fwd-tdme.h
>
7
8
using
std::string;
9
10
/**
11
* Playable sound view interface, which represents a view that supports playing sounds additionally
12
* @author Andreas Drewke
13
*/
14
struct
tdme::tools::editor::views::PlayableSoundView
15
{
16
/**
17
* Destructor
18
*/
19
virtual
~PlayableSoundView
() {}
20
21
/**
22
* Play sound
23
* @param soundId sound id
24
*/
25
virtual
void
playSound
(
const
string
& soundId) = 0;
26
27
/**
28
* Stop sound
29
*/
30
virtual
void
stopSound
() = 0;
31
32
};
tdme::tools::editor::views::PlayableSoundView
Playable sound view interface, which represents a view that supports playing sounds additionally.
Definition:
PlayableSoundView.h:15
tdme::tools::editor::views::PlayableSoundView::stopSound
virtual void stopSound()=0
Stop sound.
tdme::tools::editor::views::PlayableSoundView::~PlayableSoundView
virtual ~PlayableSoundView()
Destructor.
Definition:
PlayableSoundView.h:19
tdme::tools::editor::views::PlayableSoundView::playSound
virtual void playSound(const string &soundId)=0
Play sound.
tdme.h
fwd-tdme.h
Generated by
1.9.1