~ubuntu-branches/ubuntu/precise/gnome-do/precise-proposed

« back to all changes in this revision

Viewing changes to Do.Addins/src/Do.Addins/Util.cs

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2008-09-14 10:09:40 UTC
  • mto: (0.1.8 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20080914100940-kyghudg7py14bu2z
Tags: upstream-0.6.0.0
ImportĀ upstreamĀ versionĀ 0.6.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
namespace Do.Addins
26
26
{
 
27
        public delegate IPreferences GetPreferencesDelegate (string id);
27
28
        public delegate void EnvironmentOpenDelegate (string item);
28
29
        public delegate void PopupMainMenuAtPositionDelegate (int x, int y);
29
30
        public delegate Gdk.Pixbuf PixbufFromIconNameDelegate (string icon_name, int size);
31
32
        public delegate string FormatCommonSubstringsDelegate (string main, string highlight, string format);
32
33
        public delegate void PresentWindowDelegate (Gtk.Window window);
33
34
        public delegate void DoEventKeyDelegate (Gdk.EventKey key);
 
35
        public delegate void NullEventHandler ();
 
36
        public delegate void SearchStartedEventHandler (bool upstream_search);
 
37
        public delegate void SearchFinishedEventHandler (bool selection_changed);
34
38
        
35
39
        /// <summary>
36
40
        /// Useful functionality for plugins. See <see cref="Do.Util"/>.
37
41
        /// </summary>
38
 
        public class Util
 
42
        public static class Util
39
43
        {
40
 
                
 
44
                public static GetPreferencesDelegate GetPreferences;
41
45
                public static FormatCommonSubstringsDelegate FormatCommonSubstrings;
42
46
                
43
47
                public static class Environment
45
49
                        public static EnvironmentOpenDelegate Open;
46
50
                }
47
51
                
48
 
                public class Appearance
 
52
                public static class Appearance
49
53
                {
50
54
                        public static PresentWindowDelegate PresentWindow;
51
55
                        public static PixbufFromIconNameDelegate PixbufFromIconName;