using System; namespace BizHawk.Common { /// Indicates that a string value is formatted as a path, with an extension to the format: paths followed by '|' and then a relative path represent a member of an archive file. /// /// The archive's path may be absolute or relative. If the path doesn't specify a member (it's a regular path), it obviously may also be absolute or relative.
/// The last '|' is the separator if multiple appear in the path, but the behaviour of such paths generally is undefined. Warnings may be printed on Debug builds.
/// Paths are still OS-dependent. C:\path\to\file and C:\path\to\archive|member are valid on Windows, /path/to/file and /path/to/archive|member are valid everywhere else.
/// This attribute is for humans.
/// TODO how are local (\\?\C:\file.txt) and remote (\\?\UNC\Server\Share\file.txt) UNCs treated by WinForms, and are we able to handle at least the valid ones? --yoshi ///
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public sealed class HawkFilePathAttribute : Attribute {} }