Removes unused plugin files from Gems/EMotionFX
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
-16
@@ -1,16 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
// include the required headers
|
||||
#include "EMStudioPlugin.h"
|
||||
|
||||
namespace EMStudio
|
||||
{
|
||||
} // namespace EMStudio
|
||||
|
||||
#include <EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/moc_EMStudioPlugin.cpp>
|
||||
|
||||
@@ -42,7 +42,6 @@ namespace EMStudio
|
||||
class EMSTUDIO_API EMStudioPlugin
|
||||
: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
MCORE_MEMORYOBJECTCATEGORY(EMStudioPlugin, MCore::MCORE_DEFAULT_ALIGNMENT, MEMCATEGORY_EMSTUDIOSDK)
|
||||
|
||||
public:
|
||||
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
// include required headers
|
||||
#include "InvisiblePlugin.h"
|
||||
|
||||
namespace EMStudio
|
||||
{
|
||||
// constructor
|
||||
InvisiblePlugin::InvisiblePlugin()
|
||||
: EMStudioPlugin()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// destructor
|
||||
InvisiblePlugin::~InvisiblePlugin()
|
||||
{
|
||||
}
|
||||
} // namespace EMStudio
|
||||
|
||||
#include <EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/moc_InvisiblePlugin.cpp>
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// include MCore
|
||||
#if !defined(Q_MOC_RUN)
|
||||
#include <MCore/Source/StandardHeaders.h>
|
||||
#include "EMStudioConfig.h"
|
||||
#include "EMStudioPlugin.h"
|
||||
#endif
|
||||
|
||||
|
||||
namespace EMStudio
|
||||
{
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
class EMSTUDIO_API InvisiblePlugin
|
||||
: public EMStudioPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
MCORE_MEMORYOBJECTCATEGORY(InvisiblePlugin, MCore::MCORE_DEFAULT_ALIGNMENT, MEMCATEGORY_EMSTUDIOSDK)
|
||||
public:
|
||||
InvisiblePlugin();
|
||||
virtual ~InvisiblePlugin();
|
||||
|
||||
EMStudioPlugin::EPluginType GetPluginType() const override { return EMStudioPlugin::PLUGINTYPE_INVISIBLE; }
|
||||
|
||||
bool Init() override { return true; } // for this type of plugin, perform the init inside the constructor
|
||||
bool GetHasWindowWithObjectName(const AZStd::string& objectName) override { MCORE_UNUSED(objectName); return false; }
|
||||
QString GetObjectName() const override { return objectName(); }
|
||||
void SetObjectName(const QString& objectName) override { setObjectName(objectName); }
|
||||
void CreateBaseInterface(const char* objectName) override { MCORE_UNUSED(objectName); }
|
||||
};
|
||||
} // namespace EMStudio
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "PluginOptions.h"
|
||||
|
||||
namespace EMotionFX
|
||||
{
|
||||
|
||||
}
|
||||
+2
-1
@@ -14,9 +14,10 @@
|
||||
#include <EMotionFX/CommandSystem/Source/ActorInstanceCommands.h>
|
||||
#include <AzToolsFramework/UI/PropertyEditor/ReflectedPropertyEditor.hxx>
|
||||
#include <MysticQt/Source/KeyboardShortcutManager.h>
|
||||
#include <EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/EMStudioManager.h>
|
||||
|
||||
#include <QToolBar>
|
||||
|
||||
#include <QToolButton>
|
||||
|
||||
namespace EMStudio
|
||||
{
|
||||
|
||||
@@ -16,14 +16,11 @@ set(FILES
|
||||
Source/EMStudioConfig.h
|
||||
Source/EMStudioManager.cpp
|
||||
Source/EMStudioManager.h
|
||||
Source/EMStudioPlugin.cpp
|
||||
Source/EMStudioPlugin.h
|
||||
Source/FileManager.cpp
|
||||
Source/FileManager.h
|
||||
Source/GUIOptions.cpp
|
||||
Source/GUIOptions.h
|
||||
Source/InvisiblePlugin.cpp
|
||||
Source/InvisiblePlugin.h
|
||||
Source/KeyboardShortcutsWindow.cpp
|
||||
Source/KeyboardShortcutsWindow.h
|
||||
Source/LayoutManager.cpp
|
||||
@@ -35,7 +32,6 @@ set(FILES
|
||||
Source/MotionEventPresetManager.h
|
||||
Source/PluginManager.cpp
|
||||
Source/PluginManager.h
|
||||
Source/PluginOptions.cpp
|
||||
Source/PluginOptions.h
|
||||
Source/PluginOptionsBus.h
|
||||
Source/PreferencesWindow.cpp
|
||||
|
||||
+1
@@ -17,6 +17,7 @@
|
||||
#include "../../../../EMStudioSDK/Source/RenderPlugin/RenderWidget.h"
|
||||
#include "../../../../EMStudioSDK/Source/RenderPlugin/RenderLayouts.h"
|
||||
#include "../../../../EMStudioSDK/Source/RenderPlugin/RenderUpdateCallback.h"
|
||||
#include <MysticQt/Source/MysticQtManager.h>
|
||||
#include "GLWidget.h"
|
||||
#endif
|
||||
|
||||
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
// include the EMotion Studio SDK
|
||||
#include "RenderPluginsConfig.h"
|
||||
#include "../../../EMStudioSDK/Source/EMStudioConfig.h"
|
||||
#include "../../../EMStudioSDK/Source/EMStudioManager.h"
|
||||
#include "../../../EMStudioSDK/Source/PluginManager.h"
|
||||
|
||||
// include the plugin interfaces
|
||||
#include "OpenGLRender/OpenGLRenderPlugin.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
// the main register function which is executed when loading the plugin library
|
||||
// we register our plugins to the plugin manager here
|
||||
RENDERPLUGINS_API void MCORE_CDECL RegisterPlugins()
|
||||
{
|
||||
// get the plugin manager
|
||||
EMStudio::PluginManager* pluginManager = EMStudio::GetPluginManager();
|
||||
|
||||
// register the plugins
|
||||
pluginManager->RegisterPlugin(new EMStudio::OpenGLRenderPlugin());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user