DccScriptingInterfaceEditorSystemComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #include <AzCore/Component/Component.h>
  10. #include <DccScriptingInterface/DccScriptingInterfaceBus.h>
  11. namespace DccScriptingInterface
  12. {
  13. /// System component for DccScriptingInterface editor
  14. class DccScriptingInterfaceEditorSystemComponent
  15. : public DccScriptingInterfaceRequestBus::Handler
  16. , public AZ::Component
  17. {
  18. public:
  19. AZ_COMPONENT(DccScriptingInterfaceEditorSystemComponent, "{2436FA2A-632D-4DD5-A5CB-1C692C8CB08B}");
  20. static void Reflect(AZ::ReflectContext* context);
  21. DccScriptingInterfaceEditorSystemComponent();
  22. ~DccScriptingInterfaceEditorSystemComponent();
  23. private:
  24. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  25. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  26. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  27. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  28. // AZ::Component
  29. void Activate();
  30. void Deactivate();
  31. };
  32. } // namespace DccScriptingInterface