Files
o3de/Gems/LmbrCentral/Code/Source/Editor/EditorCommentComponent.h
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00

43 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/ToolsComponents/EditorComponentBase.h>
namespace LmbrCentral
{
class EditorCommentComponent
: public AzToolsFramework::Components::EditorComponentBase
{
public:
AZ_COMPONENT(EditorCommentComponent, "{5181117D-CD69-4C05-8804-C1FBE5F0C00F}",
AzToolsFramework::Components::EditorComponentBase);
//////////////////////////////////////////////////////////////////////////
// AZ::Component interface implementation
void Activate() override {};
void Deactivate() override {};
//////////////////////////////////////////////////////////////////////////
protected:
static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided)
{
provided.push_back(AZ_CRC("EditorCommentingService", 0xdd5ab934));
}
static void Reflect(AZ::ReflectContext* context);
private:
// A user editable comment for this entity
AZStd::string m_comment;
};
} // namespace LmbrCentral