Mercurial > repos > snowblizz-super-API-ideas
annotate api/Objects/IWarFoundryStagedLoadObject.cs @ 15:306558904c2a
Re #1 - LGPL license all code
* Add LGPL header to all files
* Add COPYING.LGPL and COPYING.GPL with content of license
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Jan 2009 14:50:36 +0000 |
parents | 613bc5eaac59 |
children | b271a2252758 |
rev | line source |
---|---|
15 | 1 // This file (IWarFoundryStagedLoadObject.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2009 IBBoard. |
2 // | |
3 // 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. | |
4 | |
0 | 5 using System; |
6 using ICSharpCode.SharpZipLib.Zip; | |
7 using IBBoard.WarFoundry.API.Factories; | |
8 | |
9 namespace IBBoard.WarFoundry.API.Objects | |
10 { | |
11 public interface IWarFoundryStagedLoadObject : IWarFoundryObject | |
12 { | |
13 /// <summary> | |
14 /// Checks whether the object has been fully loaded or whether only the first stage of loading has been performed. | |
15 /// If the object is not fully loaded then the method must finish loading the object. | |
16 /// </summary> | |
17 void EnsureFullyLoaded(); | |
18 | |
19 /// <value> | |
20 /// Gets the <code>AbstractNativeWarFoundryFactory</code> that created the object. | |
21 /// </value> | |
8
613bc5eaac59
Re #9 - Make WarFoundry loading granular
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
22 IWarFoundryFactory Factory { get; } |
0 | 23 |
24 /// <value> | |
25 /// Returns <code>true</code> if the object has been fully loaded with all data, else returns <code>false</code> | |
26 /// </value> | |
27 bool IsFullyLoaded { get; } | |
8
613bc5eaac59
Re #9 - Make WarFoundry loading granular
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
28 |
613bc5eaac59
Re #9 - Make WarFoundry loading granular
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
29 /// <summary> |
613bc5eaac59
Re #9 - Make WarFoundry loading granular
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
30 /// Marks the object as fully loaded so that no more load checking is required. |
613bc5eaac59
Re #9 - Make WarFoundry loading granular
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
31 /// </summary> |
613bc5eaac59
Re #9 - Make WarFoundry loading granular
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
32 void SetAsFullyLoaded(); |
0 | 33 } |
34 } |