Adding PAL implementation for Linux
parent
af42705bc9
commit
1339d453fc
@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates, or
|
||||||
|
* a third party where indicated.
|
||||||
|
*
|
||||||
|
* For complete copyright and license terms please see the LICENSE at the root of this
|
||||||
|
* distribution (the "License"). All use of this software is governed by the License,
|
||||||
|
* or, if provided, by the license below or the license accompanying this file. Do not
|
||||||
|
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <AzCore/std/string/string.h>
|
||||||
|
#include <QWidget>
|
||||||
|
#include <AzFramework/Windowing/WindowBus.h>
|
||||||
|
|
||||||
|
namespace Platform
|
||||||
|
{
|
||||||
|
void LoadPluginDependencies()
|
||||||
|
{
|
||||||
|
AZ_Warning("Material Editor", false, "LoadPluginDependencies() function is not implemented");
|
||||||
|
}
|
||||||
|
|
||||||
|
void ProcessInput(void* message)
|
||||||
|
{
|
||||||
|
AZ_Warning("Material Editor", false, "ProcessInput() function is not implemented");
|
||||||
|
}
|
||||||
|
|
||||||
|
AzFramework::NativeWindowHandle GetWindowHandle(WId winId)
|
||||||
|
{
|
||||||
|
AZ_Warning("Material Editor", false, "GetWindowHandle() function is not implemented");
|
||||||
|
AZ_UNUSED(winId);
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
AzFramework::WindowSize GetClientAreaSize(AzFramework::NativeWindowHandle window)
|
||||||
|
{
|
||||||
|
AZ_Warning("Material Editor", false, "GetClientAreaSize() function is not implemented");
|
||||||
|
AZ_UNUSED(window);
|
||||||
|
return AzFramework::WindowSize{1,1};
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
||||||
|
* its licensors.
|
||||||
|
*
|
||||||
|
* For complete copyright and license terms please see the LICENSE at the root of this
|
||||||
|
* distribution (the "License"). All use of this software is governed by the License,
|
||||||
|
* or, if provided, by the license below or the license accompanying this file. Do not
|
||||||
|
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define AZ_TRAIT_MATERIALEDITOR_EXT ""
|
||||||
|
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
||||||
|
* its licensors.
|
||||||
|
*
|
||||||
|
* For complete copyright and license terms please see the LICENSE at the root of this
|
||||||
|
* distribution (the "License"). All use of this software is governed by the License,
|
||||||
|
* or, if provided, by the license below or the license accompanying this file. Do not
|
||||||
|
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <MaterialEditor_Traits_Linux.h>
|
||||||
Loading…
Reference in New Issue