root / trunk / Pithos.ShellExtensions / Overlays / AddedIcodOverlay.cs @ 0eea575a
History | View | Annotate | Download (1.1 kB)
1 |
// ----------------------------------------------------------------------- |
---|---|
2 |
// <copyright file="AddedIcodOverlay.cs" company="Microsoft"> |
3 |
// TODO: Update copyright text. |
4 |
// </copyright> |
5 |
// ----------------------------------------------------------------------- |
6 |
|
7 |
using System.Runtime.InteropServices; |
8 |
|
9 |
namespace Pithos.ShellExtensions.Overlays |
10 |
{ |
11 |
using System; |
12 |
using System.Collections.Generic; |
13 |
using System.Linq; |
14 |
using System.Text; |
15 |
|
16 |
[ClassInterface(ClassInterfaceType.None)] |
17 |
[Guid("EAD1663B-9A03-4E92-80D3-B01B981CD828"), ComVisible(true)] |
18 |
public class AddedIcodOverlay: IconOverlayBase |
19 |
{ |
20 |
|
21 |
private static string _iconName = "Added"; |
22 |
|
23 |
public AddedIcodOverlay() |
24 |
: base(_iconName) |
25 |
{ |
26 |
|
27 |
} |
28 |
|
29 |
#region Shell Extension Registration |
30 |
[ComRegisterFunction()] |
31 |
public static void Register(Type t) |
32 |
{ |
33 |
RegisterOverlay(t,_iconName); |
34 |
} |
35 |
|
36 |
[ComUnregisterFunction] |
37 |
public static void Unregister(Type t) |
38 |
{ |
39 |
UnregisterOverlay(t,_iconName); |
40 |
} |
41 |
|
42 |
#endregion |
43 |
} |
44 |
} |