b4a2edec6a
* Final update copyright headers to reference license files at the repo root Signed-off-by: spham <spham@amazon.com> * Fix copyright validator unit tests to support the stale O3DE header scenario Signed-off-by: spham <spham@amazon.com>
48 lines
1.3 KiB
C++
48 lines
1.3 KiB
C++
/*
|
|
* 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 <AzToolsFramework/AssetBrowser/AssetBrowserBus.h>
|
|
#include <AzToolsFramework/SourceControl/SourceControlAPI.h>
|
|
|
|
class QWidget;
|
|
class QMenu;
|
|
class QAction;
|
|
|
|
namespace AzToolsFramework
|
|
{
|
|
namespace AssetBrowser
|
|
{
|
|
class AssetBrowserEntry;
|
|
class SourceAssetBrowserEntry;
|
|
class FolderAssetBrowserEntry;
|
|
}
|
|
}
|
|
|
|
namespace AZ
|
|
{
|
|
namespace Render
|
|
{
|
|
class MaterialBrowserInteractions
|
|
: public AzToolsFramework::AssetBrowser::AssetBrowserInteractionNotificationBus::Handler
|
|
{
|
|
public:
|
|
AZ_CLASS_ALLOCATOR(MaterialBrowserInteractions, AZ::SystemAllocator, 0);
|
|
|
|
MaterialBrowserInteractions();
|
|
~MaterialBrowserInteractions();
|
|
|
|
private:
|
|
//! AssetBrowserInteractionNotificationBus::Handler overrides...
|
|
void AddSourceFileOpeners(const char* fullSourceFileName, const AZ::Uuid& sourceUUID, AzToolsFramework::AssetBrowser::SourceFileOpenerList& openers) override;
|
|
|
|
bool HandlesSource(AZStd::string_view fileName) const;
|
|
};
|
|
} // namespace Render
|
|
} // namespace AZ
|