// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Content
{
///
/// Content item that contains C++ script file with source code.
///
///
public class CppScriptItem : ScriptItem
{
///
/// Initializes a new instance of the class.
///
/// The path to the item.
public CppScriptItem(string path)
: base(path)
{
}
///
public override string TypeDescription => Path.EndsWith(".h") || Path.EndsWith(".hpp") ? "C++ Header File" : "C++ Source Code";
///
public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CPPScript128;
}
}