Remove nested FocusModeFramework namespace
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
This commit is contained in:
@@ -249,7 +249,7 @@ namespace AzToolsFramework
|
||||
components.insert(components.end(), {
|
||||
azrtti_typeid<EditorEntityContextComponent>(),
|
||||
azrtti_typeid<Components::EditorEntityUiSystemComponent>(),
|
||||
azrtti_typeid<FocusModeFramework::FocusModeSystemComponent>(),
|
||||
azrtti_typeid<FocusModeSystemComponent>(),
|
||||
azrtti_typeid<SliceMetadataEntityContextComponent>(),
|
||||
azrtti_typeid<Prefab::PrefabSystemComponent>(),
|
||||
azrtti_typeid<EditorEntityFixupComponent>(),
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace AzToolsFramework
|
||||
Components::EditorSelectionAccentSystemComponent::CreateDescriptor(),
|
||||
EditorEntityContextComponent::CreateDescriptor(),
|
||||
EditorEntityFixupComponent::CreateDescriptor(),
|
||||
FocusModeFramework::FocusModeSystemComponent::CreateDescriptor(),
|
||||
FocusModeSystemComponent::CreateDescriptor(),
|
||||
SliceMetadataEntityContextComponent::CreateDescriptor(),
|
||||
SliceRequestComponent::CreateDescriptor(),
|
||||
Prefab::PrefabSystemComponent::CreateDescriptor(),
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
#include <AzCore/Interface/Interface.h>
|
||||
#include <AzCore/Serialization/SerializeContext.h>
|
||||
|
||||
|
||||
namespace AzToolsFramework::FocusModeFramework
|
||||
namespace AzToolsFramework
|
||||
{
|
||||
/*!
|
||||
* FocusModeInterface
|
||||
@@ -37,4 +36,4 @@ namespace AzToolsFramework::FocusModeFramework
|
||||
virtual bool IsInFocusSubTree(AZ::EntityId entityId) = 0;
|
||||
};
|
||||
|
||||
} // namespace AzToolsFramework::FocusModeFrameworkclassPrefabEditPublicInterface
|
||||
} // namespace AzToolsFramework
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@
|
||||
#include <AzToolsFramework/API/ViewportEditorModeTrackerInterface.h>
|
||||
#include <AzToolsFramework/FocusMode/FocusModeSystemComponent.h>
|
||||
|
||||
namespace AzToolsFramework::FocusModeFramework
|
||||
namespace AzToolsFramework
|
||||
{
|
||||
FocusModeSystemComponent::~FocusModeSystemComponent()
|
||||
{
|
||||
@@ -90,4 +90,4 @@ namespace AzToolsFramework::FocusModeFramework
|
||||
return IsInFocusSubTree_helper(parentId, focusRootId);
|
||||
}
|
||||
|
||||
} // namespace AzToolsFramework::FocusModeFramework
|
||||
} // namespace AzToolsFramework
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <AzToolsFramework/FocusMode/FocusModeInterface.h>
|
||||
|
||||
namespace AzToolsFramework::FocusModeFramework
|
||||
namespace AzToolsFramework
|
||||
{
|
||||
class FocusModeSystemComponent final
|
||||
: public AZ::Component
|
||||
@@ -46,4 +46,4 @@ namespace AzToolsFramework::FocusModeFramework
|
||||
AZ::EntityId m_focusRoot;
|
||||
};
|
||||
|
||||
} // namespace AzToolsFramework::FocusModeFramework
|
||||
} // namespace AzToolsFramework
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
namespace AzToolsFramework::Prefab
|
||||
{
|
||||
FocusModeFramework::FocusModeInterface* PrefabFocusHandler::s_focusModeInterface = nullptr;
|
||||
FocusModeInterface* PrefabFocusHandler::s_focusModeInterface = nullptr;
|
||||
InstanceEntityMapperInterface* PrefabFocusHandler::s_instanceEntityMapperInterface = nullptr;
|
||||
PrefabEditorEntityOwnershipInterface* PrefabFocusHandler::s_prefabEditorEntityOwnershipInterface = nullptr;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace AzToolsFramework::Prefab
|
||||
|
||||
void PrefabFocusHandler::Initialize()
|
||||
{
|
||||
s_focusModeInterface = AZ::Interface<FocusModeFramework::FocusModeInterface>::Get();
|
||||
s_focusModeInterface = AZ::Interface<FocusModeInterface>::Get();
|
||||
AZ_Assert(
|
||||
s_focusModeInterface,
|
||||
"Prefab - PrefabFocusHandler - "
|
||||
|
||||
@@ -15,13 +15,9 @@
|
||||
#include <AzToolsFramework/Prefab/Template/Template.h>
|
||||
|
||||
namespace AzToolsFramework
|
||||
{
|
||||
class PrefabEditorEntityOwnershipInterface;
|
||||
}
|
||||
|
||||
namespace AzToolsFramework::FocusModeFramework
|
||||
{
|
||||
class FocusModeInterface;
|
||||
class PrefabEditorEntityOwnershipInterface;
|
||||
}
|
||||
|
||||
namespace AzToolsFramework::Prefab
|
||||
@@ -48,7 +44,7 @@ namespace AzToolsFramework::Prefab
|
||||
InstanceOptionalReference m_focusedInstance;
|
||||
TemplateId m_focusedTemplateId;
|
||||
|
||||
static FocusModeFramework::FocusModeInterface* s_focusModeInterface;
|
||||
static FocusModeInterface* s_focusModeInterface;
|
||||
static InstanceEntityMapperInterface* s_instanceEntityMapperInterface;
|
||||
static PrefabEditorEntityOwnershipInterface* s_prefabEditorEntityOwnershipInterface;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user