~ted/ubuntu/lucid/tomboy/with-patch

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;

namespace Tomboy
{
	/// <summary>
	/// Implement this interface if your Addin needs to do things when Tomboy
	/// starts up and shuts down.
	/// </summary>
	public abstract class ApplicationAddin : AbstractAddin
	{
		/// <summary>
		/// Called when Tomboy has started up and is nearly 100% initialized.
		/// </summary>
		public abstract void Initialize ();

		/// <summary>
		/// Called just before Tomboy shuts down for good.
		/// </summary>
		public abstract void Shutdown ();

		/// <summary>
		/// Return true if the addin is initialized
		/// </summary>
		public abstract bool Initialized
		{
			get;
		}
	}
}