| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #if defined(SCRIPTCANVAS_EDITOR)
- #include <ScriptCanvasGem.h>
- #include <AzCore/Component/Entity.h>
- #include <AzCore/Component/Component.h>
- #include <AzCore/Serialization/SerializeContext.h>
- #include <AzCore/Component/ComponentApplication.h>
- #include <AzCore/Component/ComponentApplicationBus.h>
- #include <AzFramework/API/ApplicationAPI.h>
- #include <AzFramework/Asset/SimpleAsset.h>
- #include <SystemComponent.h>
- #include <ScriptCanvas/Core/Graph.h>
- #include <ScriptCanvas/Data/DataRegistry.h>
- #include <ScriptCanvas/Libraries/Libraries.h>
- #include <ScriptCanvas/Debugger/Debugger.h>
- #include <ScriptCanvas/Variable/GraphVariableManagerComponent.h>
- namespace ScriptCanvas
- {
- ////////////////////////////////////////////////////////////////////////////
- // ScriptCanvasModule
- ////////////////////////////////////////////////////////////////////////////
- //! Create ComponentDescriptors and add them to the list.
- //! The descriptors will be registered at the appropriate time.
- //! The descriptors will be destroyed (and thus unregistered) at the appropriate time.
- ScriptCanvasModule::ScriptCanvasModule()
- : ScriptCanvasModuleCommon()
- {
- }
- AZ::ComponentTypeList ScriptCanvasModule::GetRequiredSystemComponents() const
- {
- return GetCommonSystemComponents();
- }
- }
- #if defined(O3DE_GEM_NAME)
- AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), ScriptCanvas::ScriptCanvasModule)
- #else
- AZ_DECLARE_MODULE_CLASS(Gem_ScriptCanvas, ScriptCanvas::ScriptCanvasModule)
- #endif
- #endif // !SCRIPTCANVAS_EDITOR
|