/* * 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 #include #include namespace AssetProcessor { class BuilderConfigurationRequests : public AZ::EBusTraits { public: static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single; static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single; using MutexType = AZStd::recursive_mutex; virtual ~BuilderConfigurationRequests() = default; //! Load configuration data from a specific BuilderConfig.ini file virtual bool LoadConfiguration(const AZStd::string& /*configFile*/) { return false; } //! Update a job descriptor given the configuration data which has been loaded virtual bool UpdateJobDescriptor(const AZStd::string& /*jobKey*/, AssetBuilderSDK::JobDescriptor& /*jobDesc*/) { return false; } //! Update a builder desc given configuration data virtual bool UpdateBuilderDescriptor(const AZStd::string& /*builderName*/, AssetBuilderSDK::AssetBuilderDesc& /*jobDesc*/) { return false; } }; using BuilderConfigurationRequestBus = AZ::EBus; } // namespace AssetProcessor