Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate api/Savers/WarFoundrySaver.cs @ 278:c1d55ea8a2a1
Re #297: Move Categories over to key/keyref from ID/IDREF
* Make category use a string for an ID
* Add key to system - key needs to be outside <complexType> so we can't put it in warfoundry-cats.xsd at the moment
TODO: Add matching code to Race, or find a way to "alias" and create a categories element that uses the type and the key within warfoundry-cats.xsd
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 07 Jul 2010 19:01:13 +0000 |
parents | 2f3cafb69799 |
children | 349e521785c1 |
rev | line source |
---|---|
104
2f3cafb69799
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
15
diff
changeset
|
1 // This file (WarFoundrySaver.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2008, 2009 IBBoard. |
0 | 2 // |
104
2f3cafb69799
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
15
diff
changeset
|
3 // 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. |
0 | 4 |
5 using System; | |
6 | |
7 namespace IBBoard.WarFoundry.API.Savers | |
8 { | |
9 public class WarFoundrySaver | |
10 { | |
11 private static IWarFoundryFileSaver fileSaver; | |
12 | |
13 public static IWarFoundryFileSaver GetSaver() | |
14 { | |
15 return fileSaver; | |
16 } | |
17 | |
18 public static void SetFileSaver(IWarFoundryFileSaver newFileSaver) | |
19 { | |
20 fileSaver = newFileSaver; | |
21 } | |
22 } | |
23 } |