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

« back to all changes in this revision

Viewing changes to Tomboy/ApplicationAddin.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-07-16 10:26:35 UTC
  • mfrom: (1.1.21 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20070716102635-0wzk26jo50csob7b
Tags: 0.7.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
using System;
 
3
 
 
4
namespace Tomboy
 
5
{
 
6
        /// <summary>
 
7
        /// Implement this interface if your Addin needs to do things when Tomboy
 
8
        /// starts up and shuts down.
 
9
        /// </summary>
 
10
        public abstract class ApplicationAddin : AbstractAddin
 
11
        {
 
12
                /// <summary>
 
13
                /// Called when Tomboy has started up and is nearly 100% initialized.
 
14
                /// </summary>
 
15
                public abstract void Initialize ();
 
16
                
 
17
                /// <summary>
 
18
                /// Called just before Tomboy shuts down for good.
 
19
                /// </summary>
 
20
                public abstract void Shutdown ();
 
21
                
 
22
                /// <summary>
 
23
                /// Return true if the addin is initialized
 
24
                /// </summary>
 
25
                public abstract bool Initialized
 
26
                {
 
27
                        get;
 
28
                }
 
29
        }
 
30
}