diff Util/UnitEquipmentChoice.cs @ 36:6ab7ddc038f9

Re #121: Move all code to AGPL * Move all WinForms code to the GNU Affero General Public License * fix some copyright dates
author IBBoard <dev@ibboard.co.uk>
date Sat, 15 Aug 2009 10:15:00 +0000
parents 3ceb0efd261f
children 1576f669b3eb
line wrap: on
line diff
--- a/Util/UnitEquipmentChoice.cs	Sat Aug 15 09:38:21 2009 +0000
+++ b/Util/UnitEquipmentChoice.cs	Sat Aug 15 10:15:00 2009 +0000
@@ -1,35 +1,35 @@
-// This file (UnitEquipmentChoice.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2009 IBBoard.
-//
-// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license.
-
-using System;
-using System.Collections;
-using IBBoard.WarFoundry.API.Objects;
-
-
-
-namespace IBBoard.WarFoundry.GUI.WinForms.Util
-{
-    /// <summary>
-    /// A helper object that holds an equipment choice for a unit.
-    /// </summary>
-
-    public class UnitEquipmentChoice
-    {
-        private Unit unit;
-		private UnitEquipmentItem item;
-
-        private static Hashtable equipObjs = new Hashtable();
-
-        public UnitEquipmentChoice(Unit unit, UnitEquipmentItem unitItem)
-        {
-            this.unit = unit;
-            item = unitItem;
-        }
-
-        public override string ToString()
-        {
-            return String.Format("{0} (For {1} at {2}pts each)", item.Name, GetAmountString(), item.Cost);
+// This file (UnitEquipmentChoice.cs) is a part of the IBBoard.WarFoundry.GUI.WinForms project and is copyright 2009 IBBoard.
+//
+// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
+
+using System;
+using System.Collections;
+using IBBoard.WarFoundry.API.Objects;
+
+
+
+namespace IBBoard.WarFoundry.GUI.WinForms.Util
+{
+    /// <summary>
+    /// A helper object that holds an equipment choice for a unit.
+    /// </summary>
+
+    public class UnitEquipmentChoice
+    {
+        private Unit unit;
+		private UnitEquipmentItem item;
+
+        private static Hashtable equipObjs = new Hashtable();
+
+        public UnitEquipmentChoice(Unit unit, UnitEquipmentItem unitItem)
+        {
+            this.unit = unit;
+            item = unitItem;
+        }
+
+        public override string ToString()
+        {
+            return String.Format("{0} (For {1} at {2}pts each)", item.Name, GetAmountString(), item.Cost);
         }
 
 		private string GetAmountString()
@@ -42,11 +42,11 @@
 			{
 				return UnitEquipmentNumericSelection.GetEquipmentAmountString(unit.GetEquipmentAmount(item));
 			}
-		}
-
-        public UnitEquipmentItem Item
-        {
-            get { return item; }
-        }
-    }
+		}
+
+        public UnitEquipmentItem Item
+        {
+            get { return item; }
+        }
+    }
 }
\ No newline at end of file