BsOISPrerequisites.h 912 B

12345678910111213141516171819202122232425262728293031
  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_OIS_EXPORTS
  7. # define BS_OIS_EXPORT __declspec(dllexport)
  8. # else
  9. # if defined( __MINGW32__ )
  10. # define BS_OIS_EXPORT
  11. # else
  12. # define BS_OIS_EXPORT __declspec(dllimport)
  13. # endif
  14. # endif
  15. #elif defined ( BS_GCC_VISIBILITY )
  16. # define BS_OIS_EXPORT __attribute__ ((visibility("default")))
  17. #else
  18. # define BS_OIS_EXPORT
  19. #endif
  20. /** @addtogroup Plugins
  21. * @{
  22. */
  23. /** @defgroup OISInput BansheeOISInput
  24. * OIS implementation for raw keyboard/mouse/gamepad input.
  25. */
  26. /** @} */