Singularity/Library/PackageCache/com.unity.2d.psdimporter@6.0.7/Editor/PSDPlugin/PsdFile/LoadContext.cs
2024-05-06 11:45:45 -07:00

45 lines
1.1 KiB
C#

/////////////////////////////////////////////////////////////////////////////////
//
// Photoshop PSD FileType Plugin for Paint.NET
// http://psdplugin.codeplex.com/
//
// This software is provided under the MIT License:
// Copyright (c) 2006-2007 Frank Blumenberg
// Copyright (c) 2010-2016 Tao Yue
//
// Portions of this file are provided under the BSD 3-clause License:
// Copyright (c) 2006, Jonas Beckeman
//
// See LICENSE.txt for complete licensing and attribution information.
//
/////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PhotoshopFile
{
/// <summary>
/// Contains settings and callbacks that affect the loading of a PSD file.
/// </summary>
internal class LoadContext
{
public Encoding Encoding { get; set; }
public LoadContext()
{
Encoding = Encoding.Default;
}
public virtual void OnLoadLayersHeader(PsdFile psdFile)
{
}
public virtual void OnLoadLayerHeader(Layer layer)
{
}
}
}