BsEditorPrerequisites.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 GUITabbedTitleBar;
  28. class GUITabButton;
  29. class GUIWindowDropArea;
  30. class GUIWindowFrame;
  31. class GUIIntField;
  32. class GUIFloatField;
  33. class GUITextField;
  34. class GUIColor;
  35. class GUIFoldout;
  36. class GUIDropButton;
  37. class EditorWindowManager;
  38. class DockManager;
  39. class DockManagerLayout;
  40. class MainEditorWindow;
  41. class WindowFrameWidget;
  42. class GUIMenuBar;
  43. class GUIDockSlider;
  44. class GUISceneTreeView;
  45. class GUIResourceTreeView;
  46. class GUITreeViewEditBox;
  47. class EditorCommand;
  48. class ResourceMeta;
  49. typedef std::shared_ptr<ResourceMeta> ResourceMetaPtr;
  50. typedef std::shared_ptr<DockManagerLayout> DockManagerLayoutPtr;
  51. typedef std::shared_ptr<EditorWidgetLayout> EditorWidgetLayoutPtr;
  52. enum class DragAndDropType
  53. {
  54. EditorWidget = 10000,
  55. SceneObject = 10001,
  56. Resources = 10002
  57. };
  58. enum TypeID_BansheeEditor
  59. {
  60. TID_ResourceMeta = 40000,
  61. TID_ProjectLibraryEntries = 40001,
  62. TID_ProjectLibraryResEntry = 40002,
  63. TID_ProjectLibraryDirEntry = 40003,
  64. TID_DockManagerLayout = 40004,
  65. TID_DockManagerLayoutEntry = 40005,
  66. TID_EditorWidgetLayout = 40006,
  67. TID_EditorWidgetLayoutEntry = 40007
  68. };
  69. }