NorMIT-nav  18.04
An IGT application
cxAudio.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXAUDIO_H_
13 #define CXAUDIO_H_
14 
15 #include "cxResourceExport.h"
16 
17 #include "boost/shared_ptr.hpp"
18 
19 namespace cx
20 {
21 
29 class cxResource_EXPORT Audio
30 {
31 public:
32  Audio(){};
33  virtual ~Audio(){};
34 
35  virtual void playStartSound() = 0;
36  virtual void playStopSound() = 0;
37  virtual void playCancelSound() = 0;
38 
39  virtual void playSuccessSound() = 0;
40  virtual void playWarningSound() = 0;
41  virtual void playErrorSound() = 0;
42 
43  virtual void playScreenShotSound() = 0;
44  virtual void playSampleSound() = 0;
45 };
46 
47 typedef boost::shared_ptr<Audio> AudioPtr;
48 }
49 
50 #endif /* CXAUDIO_H_ */
virtual ~Audio()
Definition: cxAudio.h:33
Interface for playing sounds.
Definition: cxAudio.h:29
Audio()
Definition: cxAudio.h:32
boost::shared_ptr< Audio > AudioPtr
Definition: cxAudio.h:47
Namespace for all CustusX production code.