LmbrCentralEditor.h 1.4 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 "LmbrCentral.h"
  10. #include <AzToolsFramework/ActionManager/ActionManagerRegistrationNotificationBus.h>
  11. namespace LmbrCentral
  12. {
  13. /**
  14. * The LmbrCentralEditor module class extends the \ref LmbrCentralModule
  15. * by defining editor versions of many components.
  16. *
  17. * This is the module used when working in the Editor.
  18. * The \ref LmbrCentralModule is used by the standalone game.
  19. */
  20. class LmbrCentralEditorModule
  21. : public LmbrCentralModule
  22. , public AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler
  23. {
  24. public:
  25. AZ_CLASS_ALLOCATOR(LmbrCentralEditorModule, AZ::SystemAllocator)
  26. AZ_RTTI(LmbrCentralEditorModule, "{1BF648D7-3703-4B52-A688-67C253A059F2}", LmbrCentralModule);
  27. LmbrCentralEditorModule();
  28. ~LmbrCentralEditorModule();
  29. AZ::ComponentTypeList GetRequiredSystemComponents() const override;
  30. // ActionManagerRegistrationNotificationBus overrides ...
  31. void OnActionRegistrationHook() override;
  32. void OnActionContextModeBindingHook() override;
  33. void OnMenuBindingHook() override;
  34. void OnPostActionManagerRegistrationHook() override;
  35. };
  36. } // namespace LmbrCentral