Mercurial > repos > IBBoard.ArmyBuilder.API
view ABv3File.cs @ 5:ec77b60e5369 default tip
Re #121: Migrate to AGPL license
* Update all Army Builder API files to AGPL license
* Include AGPL license and remove GPL/LGPL documents
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 15 Aug 2009 10:51:59 +0000 |
parents | 1a54f6afafe7 |
children |
line wrap: on
line source
// This file (ABv3File.cs) is a part of the IBBoard.ArmyBuilder.API 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.IO; namespace IBBoard.ArmyBuilder.API { public class ABv3File : ABFile { private string gameName = ""; private string folderName = ""; private string releaseMajor = ""; private string releaseMinor = ""; private string requiredMajorVersion = ""; private string requiredMinorVersion = ""; private string uniqueID = ""; private string exporter = ""; public ABv3File(String filePath) : base(new FileInfo(filePath)) { } public ABv3File(FileInfo file) : base(file) { } public string GameName { get { return gameName; } set { gameName = value; } } public string FolderName { get { return folderName; } set { folderName = value; } } public string Release { get { return ReleaseMajor + "." + ReleaseMinor; } } public string ReleaseMajor { get { return releaseMajor; } set { releaseMajor = value; } } public string ReleaseMinor { get { return releaseMinor; } set { releaseMinor = value; } } public string RequiredVersion { get { return RequiredMajorVersion + "." + RequiredMinorVersion; } } public string RequiredMajorVersion { get { return requiredMajorVersion; } set { requiredMajorVersion = value; } } public string RequiredMinorVersion { get { return requiredMinorVersion; } set { requiredMinorVersion = value; } } public string UniqueID { get { return uniqueID; } set { uniqueID = value; } } public string Exporter { get { return exporter; } set { exporter = value; } } } }