~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to WindowManager/src/WindowItem.cs

  • Committer: David Siegel
  • Date: 2008-06-02 19:48:18 UTC
  • Revision ID: dave@x-20080602194818-i7rtmvlbq2461ey3
Added repo.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
namespace WindowManager
29
29
{
 
30
        public enum GenericWindowType
 
31
        {
 
32
                CurrentWindow = 0,
 
33
                PreviousWindow = 1,
 
34
                CurrentApplication = 2,
 
35
                PreviousApplication = 3,
 
36
        }
 
37
        
30
38
        public class GenericWindowItem : IItem
31
39
        {
32
40
                string name, description, icon;
 
41
                GenericWindowType windowType;
33
42
                
34
 
                public GenericWindowItem (string name, string description, string icon) 
 
43
                public GenericWindowItem (string name, string description, string icon, 
 
44
                                          GenericWindowType windowType) 
35
45
                {
36
46
                        this.name = name;
37
47
                        this.description = description;
38
48
                        this.icon = icon;
 
49
                        this.windowType = windowType;
39
50
                }
40
51
                
41
52
                public string Name {
56
67
                        }
57
68
                }
58
69
 
 
70
                public GenericWindowType WindowType {
 
71
                        get {
 
72
                                return windowType;
 
73
                        }
 
74
                }
59
75
                
60
76
        }
61
77