BsEditorPrerequisites.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #pragma once
  2. #include "BsPrerequisites.h"
  3. #if (CM_PLATFORM == CM_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 ( CM_GCC_VISIBILITY )
  14. # define BS_ED_EXPORT __attribute__ ((visibility("default")))
  15. #else
  16. # define BS_ED_EXPORT
  17. #endif
  18. namespace BansheeEditor
  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 EditorWindowManager;
  36. class DockManager;
  37. class DockManagerLayout;
  38. class MainEditorWindow;
  39. class WindowFrameWidget;
  40. class GUIMenuBar;
  41. class GUIDockSlider;
  42. class GUISceneTreeView;
  43. class GUIResourceTreeView;
  44. class GUITreeViewEditBox;
  45. class EditorCommand;
  46. class ResourceMeta;
  47. typedef std::shared_ptr<ResourceMeta> ResourceMetaPtr;
  48. typedef std::shared_ptr<DockManagerLayout> DockManagerLayoutPtr;
  49. typedef std::shared_ptr<EditorWidgetLayout> EditorWidgetLayoutPtr;
  50. enum class DragAndDropType
  51. {
  52. EditorWidget = 10000,
  53. SceneObject = 10001,
  54. Resources = 10002
  55. };
  56. enum TypeID_BansheeEditor
  57. {
  58. TID_ResourceMeta = 40000,
  59. TID_ProjectLibraryEntries = 40001,
  60. TID_ProjectLibraryResEntry = 40002,
  61. TID_ProjectLibraryDirEntry = 40003,
  62. TID_DockManagerLayout = 40004,
  63. TID_DockManagerLayoutEntry = 40005,
  64. TID_EditorWidgetLayout = 40006,
  65. TID_EditorWidgetLayoutEntry = 40007
  66. };
  67. }