Remove nested FocusModeFramework namespace

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
This commit is contained in:
Danilo Aimini
2021-09-21 09:48:09 -07:00
parent 29d7fcb55e
commit b8c78caa2f
7 changed files with 12 additions and 17 deletions
@@ -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;
};