BsEditorPrerequisites.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. #pragma once
  2. #include "BsPrerequisites.h"
  3. #if (BS_PLATFORM == BS_PLATFORM_WIN32) && !defined(__MINGW32__)
  4. # ifdef BS_ED_EXPORTS
  5. # define BS_ED_EXPORT __declspec(dllexport)
  6. # else
  7. # if defined( __MINGW32__ )
  8. # define BS_ED_EXPORT
  9. # else
  10. # define BS_ED_EXPORT __declspec(dllimport)
  11. # endif
  12. # endif
  13. #elif defined ( BS_GCC_VISIBILITY )
  14. # define BS_ED_EXPORT __attribute__ ((visibility("default")))
  15. #else
  16. # define BS_ED_EXPORT
  17. #endif
  18. namespace BansheeEngine
  19. {
  20. // GUI
  21. class EditorWindowBase;
  22. class EditorWindow;
  23. class EditorWidgetBase;
  24. class EditorWidgetContainer;
  25. class EditorWidgetManager;
  26. class EditorWidgetLayout;
  27. class ModalWindow;
  28. class GUITabbedTitleBar;
  29. class GUITabButton;
  30. class GUIWindowDropArea;
  31. class GUIWindowFrame;
  32. class GUIIntField;
  33. class GUIFloatField;
  34. class GUITextField;
  35. class GUIToggleField;
  36. class GUIVector2Field;
  37. class GUIVector3Field;
  38. class GUIVector4Field;
  39. class GUIColorField;
  40. class GUIColor;
  41. class GUIComponentFoldout;
  42. class GUIFoldout;
  43. class GUIDropButton;
  44. class EditorWindowManager;
  45. class DockManager;
  46. class DockManagerLayout;
  47. class MainEditorWindow;
  48. class WindowFrameWidget;
  49. class GUIMenuBar;
  50. class GUIDockSlider;
  51. class GUISceneTreeView;
  52. class GUIResourceTreeView;
  53. class GUITreeViewEditBox;
  54. class EditorCommand;
  55. class ProjectResourceMeta;
  56. class SceneGrid;
  57. class HandleSlider;
  58. class HandleSliderLine;
  59. class HandleSliderPlane;
  60. class HandleSliderDisc;
  61. class HandleSliderManager;
  62. class HandleDrawManager;
  63. class SceneCameraController;
  64. class EditorSettings;
  65. class SceneViewHandler;
  66. class SelectionRenderer;
  67. typedef std::shared_ptr<ProjectResourceMeta> ProjectResourceMetaPtr;
  68. typedef std::shared_ptr<DockManagerLayout> DockManagerLayoutPtr;
  69. typedef std::shared_ptr<EditorWidgetLayout> EditorWidgetLayoutPtr;
  70. typedef std::shared_ptr<EditorSettings> EditorSettingsPtr;
  71. static const char* EDITOR_ASSEMBLY = "MBansheeEditor";
  72. static const char* SCRIPT_EDITOR_ASSEMBLY = "MScriptEditor";
  73. static const Path INTERNAL_ASSEMBLY_PATH = "Internal//Assemblies//";
  74. enum class DragAndDropType
  75. {
  76. EditorWidget = 10000,
  77. SceneObject = 10001,
  78. Resources = 10002
  79. };
  80. enum class CodeEditorType
  81. {
  82. VS2008,
  83. VS2010,
  84. VS2012,
  85. VS2013,
  86. VS2015
  87. };
  88. enum TypeID_BansheeEditor
  89. {
  90. TID_ProjectResourceMeta = 40000,
  91. TID_ProjectLibraryEntries = 40001,
  92. TID_ProjectLibraryResEntry = 40002,
  93. TID_ProjectLibraryDirEntry = 40003,
  94. TID_DockManagerLayout = 40004,
  95. TID_DockManagerLayoutEntry = 40005,
  96. TID_EditorWidgetLayout = 40006,
  97. TID_EditorWidgetLayoutEntry = 40007,
  98. TID_TestComponentA = 40008,
  99. TID_TestComponentB = 40009,
  100. TID_PlatformInfo = 40010,
  101. TID_WinPlatformInfo = 40011,
  102. TID_BuildData = 40012
  103. };
  104. }