root / trunk / Pithos.ShellExtensions / Overlays / NormalIconOverlay.cs @ d78cbf09
History | View | Annotate | Download (768 Bytes)
1 |
using System; |
---|---|
2 |
using System.Runtime.InteropServices; |
3 |
|
4 |
namespace Pithos.ShellExtensions.Overlays |
5 |
{ |
6 |
[ClassInterface(ClassInterfaceType.None)] |
7 |
[Guid("1941D8CA-2727-491B-BC03-9E8CA4FE972B"), ComVisible(true)] |
8 |
public class NormalIconOverlay: IconOverlayBase |
9 |
{ |
10 |
|
11 |
private static string _iconName = "Normal"; |
12 |
|
13 |
public NormalIconOverlay():base(_iconName) |
14 |
{ |
15 |
|
16 |
} |
17 |
|
18 |
#region Shell Extension Registration |
19 |
[ComRegisterFunction()] |
20 |
public static void Register(Type t) |
21 |
{ |
22 |
RegisterOverlay(t,_iconName); |
23 |
} |
24 |
|
25 |
[ComUnregisterFunction] |
26 |
public static void Unregister(Type t) |
27 |
{ |
28 |
UnregisterOverlay(t,_iconName); |
29 |
} |
30 |
|
31 |
#endregion |
32 |
|
33 |
|
34 |
} |
35 |
} |