Free Electron
AudioI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __audio_AudioI_h__
8 #define __audio_AudioI_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Sound system
16 
17  @ingroup audio
18 *//***************************************************************************/
19 class FE_DL_EXPORT AudioI:
20  virtual public Component,
21  public CastableAs<AudioI>
22 {
23  public:
24 virtual Result load(String name,String filename) =0;
25 virtual Result unload(String name) =0;
26 virtual Result flush(void) =0;
27 };
28 
29 } /* namespace ext */
30 } /* namespace fe */
31 
32 #endif /* __audio_AudioI_h__ */
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Result
Generalized return value indicating success or failure, and why.
Definition: Result.h:24
Base for all interfacable components.
Definition: Component.h:20
Sound system.
Definition: AudioI.h:19
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192