4f078047fdfbda17f89f6477cc3fdc57c1e14f4e
[mono.git] / mcs / class / monodoc / Monodoc / Provider.cs
1 using System;
2
3 namespace Monodoc
4 {
5         public abstract class Provider
6         {
7                 //
8                 // This code is used to "tag" all the different sources
9                 //
10                 static short serial;
11
12                 public int Code { get; set; }
13
14                 public Provider ()
15                 {
16                         Code = serial++;
17                 }
18
19                 public abstract void PopulateTree (Tree tree);
20
21                 //
22                 // Called at shutdown time after the tree has been populated to perform
23                 // any fixups or final tasks.
24                 //
25                 public abstract void CloseTree (HelpSource hs, Tree tree);
26         }
27 }