BsEditorPrerequisites.h 1.8 KB

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