comparison api/Factories/IWarFoundryFactory.cs @ 8:613bc5eaac59

Re #9 - Make WarFoundry loading granular * Remove specific staged loading classes * Rework category loading for GameSystem and Race to make it use AddCategory(Category) method * Promote staged loading from Native Factory to all Factories level * Refactor XML Factory to use smaller methods Also removed some commented code that isn't used any more
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Jan 2009 19:24:13 +0000
parents 520818033bb6
children 0770e5cbba7c
comparison
equal deleted inserted replaced
7:895c8a2378a1 8:613bc5eaac59
26 namespace IBBoard.WarFoundry.API.Factories 26 namespace IBBoard.WarFoundry.API.Factories
27 { 27 {
28 public interface IWarFoundryFactory 28 public interface IWarFoundryFactory
29 { 29 {
30 /// <summary> 30 /// <summary>
31 /// Completes the loading of an object if it is loaded in stages.
32 /// </summary>
33 /// <param name="obj">
34 /// The <see cref="IWarFoundryStagedLoadObject"/> that should be fully loaded.
35 /// </param>
36 void CompleteLoading(IWarFoundryStagedLoadObject obj);
37
38 /// <summary>
31 /// Checks if the factory thinks it can handle the supplied file. Checks can be performed on file extension or some basic check of file content, or some other method. 39 /// Checks if the factory thinks it can handle the supplied file. Checks can be performed on file extension or some basic check of file content, or some other method.
32 /// </summary> 40 /// </summary>
33 /// <param name="file"> 41 /// <param name="file">
34 /// A <see cref="FileInfo"/> for the file to check support for. 42 /// A <see cref="FileInfo"/> for the file to check support for.
35 /// </param> 43 /// </param>