~ubuntu-branches/ubuntu/jaunty/beagle/jaunty-security

« back to all changes in this revision

Viewing changes to search/Beagle.Search.Tiles/TileAction.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-05-04 00:31:32 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20080504003132-2tkm5o8moo5952ri
Tags: 0.3.7-2ubuntu1
 * Merge from Debian unstable. (LP: #225746) Remaining Ubuntu changes:
  - debian/control:
    + Rename ice{weasel,dove}-beagle to {mozilla,thunderbird}-beagle and
      and update the dependencies accordingly.
    + Change Maintainer to Ubuntu Mono Team.
  - debian/rules:
    + Install the mozilla-beagle and thunderbird-beagle extensions.
  - ice{dove,weasel}.dirs:
    + Renamed to {mozilla,thunderbird}-beagle.dirs.
    + Fixed paths to point to usr/lib/{firefox,thunderbird}

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
 
 
3
namespace Beagle.Search.Tiles {
 
4
 
 
5
        public delegate void TileActionDelegate ();
 
6
 
 
7
        public class TileAction {
 
8
 
 
9
                public TileAction (string name, TileActionDelegate action)
 
10
                {
 
11
                        this.name = name;
 
12
                        this.action = action;
 
13
                }
 
14
 
 
15
                public TileAction (string name, string stock, TileActionDelegate action)
 
16
                {
 
17
                        this.name = name;
 
18
                        this.stock = stock;
 
19
                        this.action = action;
 
20
                }
 
21
 
 
22
                private string name;
 
23
                public string Name {
 
24
                        get { return name; }
 
25
                        set { name = value; }
 
26
                }
 
27
 
 
28
                private TileActionDelegate action;
 
29
                public TileActionDelegate Action {
 
30
                        get { return action; }
 
31
                        set { action = value; }
 
32
                }
 
33
 
 
34
                private string stock;
 
35
                public string Stock {
 
36
                        get { return stock; }
 
37
                        set { stock = value; }
 
38
                }
 
39
        }
 
40
}