UltimateZoneBuilder/Source/General/ConfigurationInfo.cs

31 lines
639 B
C#
Raw Normal View History

2007-06-14 23:31:57 +00:00
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace CodeImp.DoomBuilder
{
internal struct ConfigurationInfo : IComparable<ConfigurationInfo>
{
// Members
public string name;
public string filename;
// Constructor
public ConfigurationInfo(string name, string filename)
{
// Initialize
this.name = name;
this.filename = filename;
}
// This compares it to other ConfigurationInfo objects
public int CompareTo(ConfigurationInfo other)
{
// Compare
return name.CompareTo(other.name);
}
}
}