EditorCommonAPI.h 916 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #ifndef CRYINCLUDE_EDITORCOMMON_EDITORCOMMONAPI_H
  10. #define CRYINCLUDE_EDITORCOMMON_EDITORCOMMONAPI_H
  11. #include <AzCore/PlatformDef.h>
  12. #if defined(EDITOR_COMMON_EXPORTS)
  13. #define EDITOR_COMMON_API AZ_DLL_EXPORT
  14. #elif defined(EDITOR_COMMON_IMPORTS)
  15. #define EDITOR_COMMON_API AZ_DLL_IMPORT
  16. #else
  17. #define EDITOR_COMMON_API
  18. #endif
  19. struct IEditor;
  20. struct ISystem;
  21. void EDITOR_COMMON_API InitializeEditorCommon(IEditor* editor);
  22. void EDITOR_COMMON_API UninitializeEditorCommon();
  23. void EDITOR_COMMON_API InitializeEditorCommonISystem(ISystem* pSystem);
  24. void EDITOR_COMMON_API UninitializeEditorCommonISystem(ISystem* pSystem);
  25. #endif // CRYINCLUDE_EDITORCOMMON_EDITORCOMMONAPI_H