mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
48 lines
1 KiB
C#
48 lines
1 KiB
C#
|
|
||
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
||
|
|
||
|
/*
|
||
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
||
|
* This program is released under GNU General Public License
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
#region ================== Namespaces
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
namespace CodeImp.DoomBuilder
|
||
|
{
|
||
|
internal struct ErrorItem
|
||
|
{
|
||
|
public ErrorType type;
|
||
|
public string message;
|
||
|
|
||
|
internal ErrorItem(ErrorType type, string message)
|
||
|
{
|
||
|
this.type = type;
|
||
|
this.message = message;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public enum ErrorType
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// This indicates a significant error that may cause problems for the data displayed or editing behaviour.
|
||
|
/// </summary>
|
||
|
Error,
|
||
|
|
||
|
/// <summary>
|
||
|
/// This indicates a potential problem.
|
||
|
/// </summary>
|
||
|
Warning
|
||
|
}
|
||
|
}
|