ArchiveEditorSystemComponent.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 <AzToolsFramework/API/ToolsApplicationAPI.h>
  10. #include <Clients/ArchiveSystemComponent.h>
  11. namespace Archive
  12. {
  13. /// System component for Archive editor
  14. class ArchiveEditorSystemComponent
  15. : public ArchiveSystemComponent
  16. , protected AzToolsFramework::EditorEvents::Bus::Handler
  17. {
  18. using BaseSystemComponent = ArchiveSystemComponent;
  19. public:
  20. AZ_COMPONENT_DECL(ArchiveEditorSystemComponent);
  21. static void Reflect(AZ::ReflectContext* context);
  22. ArchiveEditorSystemComponent();
  23. ~ArchiveEditorSystemComponent();
  24. private:
  25. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  26. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  27. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  28. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  29. // AZ::Component
  30. void Activate() override;
  31. void Deactivate() override;
  32. };
  33. } // namespace Archive