Statistics
| Branch: | Revision:

root / trunk / Pithos.ShellExtensions / Overlays / DeletedIconOverlay.cs @ 025046f1

History | View | Annotate | Download (816 Bytes)

1
using System;
2
using System.Runtime.InteropServices;
3

    
4
namespace Pithos.ShellExtensions.Overlays
5
{
6
    [ClassInterface(ClassInterfaceType.None), ComVisible(true)]
7
    [Guid("11051AB4-D786-4248-BC6E-369F25EC74E4")]
8
    public class DeletedIconOverlay: IconOverlayBase
9
    {
10

    
11
        private static string _iconName = "Deleted";
12

    
13
        public DeletedIconOverlay()
14
            : base(_iconName)
15
        {
16
            
17
        }
18

    
19
        #region Shell Extension Registration
20
        [ComRegisterFunction()]
21
        public static void Register(Type t)
22
        {
23
            RegisterOverlay(t,_iconName);
24
        }
25

    
26
        [ComUnregisterFunction]
27
        public static void Unregister(Type t)
28
        {
29
            UnregisterOverlay(t,_iconName);
30
        }
31

    
32
        #endregion
33

    
34

    
35
    }
36
}