BsOAPrerequisites.h 966 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsCorePrerequisites.h"
  5. #if (BS_PLATFORM == BS_PLATFORM_WIN32) && !defined(__MINGW32__)
  6. # ifdef BS_OA_EXPORTS
  7. # define BS_OA_EXPORT __declspec(dllexport)
  8. # else
  9. # if defined( __MINGW32__ )
  10. # define BS_OA_EXPORT
  11. # else
  12. # define BS_OA_EXPORT __declspec(dllimport)
  13. # endif
  14. # endif
  15. #elif defined ( BS_GCC_VISIBILITY )
  16. # define BS_OA_EXPORT __attribute__ ((visibility("default")))
  17. #else
  18. # define BS_OA_EXPORT
  19. #endif
  20. namespace BansheeEngine
  21. {
  22. class OAAudioListener;
  23. class OAAudioSource;
  24. }
  25. /** @addtogroup Plugins
  26. * @{
  27. */
  28. /** @defgroup OpenAudio BansheeOpenAudio
  29. * Open source audio implementation using OpenAL, libFLAC and libvorbis.
  30. */
  31. /** @} */