BsScriptEditorPrerequisites.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsScriptEnginePrerequisites.h"
  5. #include "BsEditorPrerequisites.h"
  6. // DLL export
  7. #if BS_PLATFORM == BS_PLATFORM_WIN32 // Windows
  8. # if BS_COMPILER == BS_COMPILER_MSVC
  9. # if defined(BS_STATIC_LIB)
  10. # define BS_SCR_BED_EXPORT
  11. # else
  12. # if defined(BS_SCR_BED_EXPORTS)
  13. # define BS_SCR_BED_EXPORT __declspec(dllexport)
  14. # else
  15. # define BS_SCR_BED_EXPORT __declspec(dllimport)
  16. # endif
  17. # endif
  18. # else
  19. # if defined(BS_STATIC_LIB)
  20. # define BS_SCR_BED_EXPORT
  21. # else
  22. # if defined(BS_SCR_BED_EXPORTS)
  23. # define BS_SCR_BED_EXPORT __attribute__ ((dllexport))
  24. # else
  25. # define BS_SCR_BED_EXPORT __attribute__ ((dllimport))
  26. # endif
  27. # endif
  28. # endif
  29. # define BS_SCR_BED_HIDDEN
  30. #else // Linux/Mac settings
  31. # define BS_SCR_BED_EXPORT __attribute__ ((visibility ("default")))
  32. # define BS_SCR_BED_HIDDEN __attribute__ ((visibility ("hidden")))
  33. #endif
  34. /** @addtogroup Plugins
  35. * @{
  36. */
  37. /** @defgroup EditorScript EditorScript
  38. * Contains script interop objects and other scripting functionality for the editor layer.
  39. * @{
  40. */
  41. /** @defgroup ScriptInteropEditor Interop
  42. * Script interop objects for communicating between native code and MBansheeEditor managed assembly.
  43. */
  44. /** @} */
  45. /** @} */
  46. namespace bs
  47. {
  48. class ScriptEditorWindow;
  49. class GUIGameObjectField;
  50. class GUIResourceField;
  51. class GUITextureField;
  52. class ScriptHandleSliderBase;
  53. class ScriptPlatformInfo;
  54. }