Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fogcreek shellext: add type library

Changeset d001f17422b2

Parent 6e5484b7509a

by David Golub

Changes to 4 files · Browse files at d001f17422b2 Showing diff from parent 6e5484b7509a Diff from another changeset...

Change 1 of 1 Show Entire File win32/​shellext/​THgShell.idl Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@@ -0,0 +1,60 @@
+// Copyright (C) 2011 Fog Creek Software +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. + +import "objidl.idl"; +import "shobjidl.idl"; + +[uuid(8A566DA8-BE17-4E03-B244-3B0CCE224EA4), + helpstring("TortoiseHg Shell Extension")] +library THgShell +{ + [uuid(46605027-5B8C-4DCE-BFE0-051B7972D64C)] + coclass TortoiseHgCmenu + { + [default] interface IContextMenu3; + interface IShellExtInit; + } + + [uuid(CEBD95BE-B733-415F-82A8-673D9158466E)] + coclass TortoiseHgDropHandler + { + [default] interface IContextMenu3; + interface IShellExtInit; + } + + [uuid(869C8877-2C3C-438D-844B-31B86BFE5E8A)] + coclass TortoiseHgNormal + { + [default] interface IUnknown; + } + + [uuid(AF42ADAB-8C2E-4285-B746-99B31094708E)] + coclass TortoiseHgAdded + { + [default] interface IUnknown; + } + + [uuid(CDA1C89D-E9B5-4981-A857-82DD932EA2FD)] + coclass TortoiseHgModified + { + [default] interface IUnknown; + } + + [uuid(9E3D4EC9-0624-4393-8B48-204C217ED1FF)] + coclass TortoiseHgUnversioned + { + [default] interface IUnknown; + } +}
 
106
107
108
 
 
 
109
110
111
 
131
132
133
 
 
 
134
135
136
 
160
161
162
 
 
 
163
164
165
 
190
191
192
 
 
 
193
194
195
 
248
249
250
 
 
 
251
252
253
 
106
107
108
109
110
111
112
113
114
 
134
135
136
137
138
139
140
141
142
 
166
167
168
169
170
171
172
173
174
 
199
200
201
202
203
204
205
206
207
 
260
261
262
263
264
265
266
267
268
@@ -106,6 +106,9 @@
  <ResourceCompile>   <AdditionalOptions>$(THG_EXTRA_RCFLAGS) %(AdditionalOptions)</AdditionalOptions>   </ResourceCompile> + <Midl> + <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName> + </Midl>   </ItemDefinitionGroup>   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">   <ClCompile> @@ -131,6 +134,9 @@
  <ResourceCompile>   <AdditionalOptions>$(THG_EXTRA_RCFLAGS) %(AdditionalOptions)</AdditionalOptions>   </ResourceCompile> + <Midl> + <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName> + </Midl>   </ItemDefinitionGroup>   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">   <ClCompile> @@ -160,6 +166,9 @@
  <ResourceCompile>   <AdditionalOptions>$(THG_EXTRA_RCFLAGS) %(AdditionalOptions)</AdditionalOptions>   </ResourceCompile> + <Midl> + <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName> + </Midl>   </ItemDefinitionGroup>   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">   <ClCompile> @@ -190,6 +199,9 @@
  <ResourceCompile>   <AdditionalOptions>$(THG_EXTRA_RCFLAGS) %(AdditionalOptions)</AdditionalOptions>   </ResourceCompile> + <Midl> + <TypeLibraryName>$(ProjectName).tlb</TypeLibraryName> + </Midl>   </ItemDefinitionGroup>   <ItemGroup>   <ClCompile Include="CShellExtCMenu.cpp" /> @@ -248,6 +260,9 @@
  <ItemGroup>   <ResourceCompile Include="shellext.rc" />   </ItemGroup> + <ItemGroup> + <Midl Include="THgShell.idl" /> + </ItemGroup>   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />   <ImportGroup Label="ExtensionTargets">   </ImportGroup>
 
169
170
171
 
 
 
 
 
172
 
 
169
170
171
172
173
174
175
176
177
 
@@ -169,4 +169,9 @@
  <Filter>Resource Files</Filter>   </ResourceCompile>   </ItemGroup> + <ItemGroup> + <Midl Include="THgShell.idl"> + <Filter>Source Files</Filter> + </Midl> + </ItemGroup>  </Project> \ No newline at end of file
 
69
70
71
 
 
 
69
70
71
72
73
@@ -69,3 +69,5 @@
  VALUE "Translation", 0x409, 1200   END  END + +1 TYPELIB "THgShell.tlb"