BsEditorPrerequisites.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. class DropDownWindow;
  68. typedef std::shared_ptr<ProjectResourceMeta> ProjectResourceMetaPtr;
  69. typedef std::shared_ptr<DockManagerLayout> DockManagerLayoutPtr;
  70. typedef std::shared_ptr<EditorWidgetLayout> EditorWidgetLayoutPtr;
  71. typedef std::shared_ptr<EditorSettings> EditorSettingsPtr;
  72. static const char* EDITOR_ASSEMBLY = "MBansheeEditor";
  73. static const char* SCRIPT_EDITOR_ASSEMBLY = "MScriptEditor";
  74. static const Path INTERNAL_ASSEMBLY_PATH = "Internal//Assemblies//";
  75. enum class DragAndDropType
  76. {
  77. EditorWidget = 10000,
  78. SceneObject = 10001,
  79. Resources = 10002
  80. };
  81. enum class CodeEditorType
  82. {
  83. VS2008,
  84. VS2010,
  85. VS2012,
  86. VS2013,
  87. VS2015
  88. };
  89. enum TypeID_BansheeEditor
  90. {
  91. TID_ProjectResourceMeta = 40000,
  92. TID_ProjectLibraryEntries = 40001,
  93. TID_ProjectLibraryResEntry = 40002,
  94. TID_ProjectLibraryDirEntry = 40003,
  95. TID_DockManagerLayout = 40004,
  96. TID_DockManagerLayoutEntry = 40005,
  97. TID_EditorWidgetLayout = 40006,
  98. TID_EditorWidgetLayoutEntry = 40007,
  99. TID_TestComponentA = 40008,
  100. TID_TestComponentB = 40009,
  101. TID_PlatformInfo = 40010,
  102. TID_WinPlatformInfo = 40011,
  103. TID_BuildData = 40012
  104. };
  105. }