Skip to content

Commit f66424b

Browse files
committed
Adding version resources to internal IE driver library
1 parent 293523b commit f66424b

File tree

4 files changed

+125
-0
lines changed

4 files changed

+125
-0
lines changed

cpp/iedriver/IEDriver.rc

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
#define APSTUDIO_READONLY_SYMBOLS
6+
/////////////////////////////////////////////////////////////////////////////
7+
//
8+
// Generated from the TEXTINCLUDE 2 resource.
9+
//
10+
#include "winres.h"
11+
12+
/////////////////////////////////////////////////////////////////////////////
13+
#undef APSTUDIO_READONLY_SYMBOLS
14+
15+
/////////////////////////////////////////////////////////////////////////////
16+
// English (United States) resources
17+
18+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
20+
21+
#ifdef APSTUDIO_INVOKED
22+
/////////////////////////////////////////////////////////////////////////////
23+
//
24+
// TEXTINCLUDE
25+
//
26+
27+
1 TEXTINCLUDE
28+
BEGIN
29+
"resource.h\0"
30+
END
31+
32+
2 TEXTINCLUDE
33+
BEGIN
34+
"#include ""winres.h""\r\n"
35+
"\0"
36+
END
37+
38+
3 TEXTINCLUDE
39+
BEGIN
40+
"\r\n"
41+
"\0"
42+
END
43+
44+
#endif // APSTUDIO_INVOKED
45+
46+
47+
/////////////////////////////////////////////////////////////////////////////
48+
//
49+
// Version
50+
//
51+
52+
VS_VERSION_INFO VERSIONINFO
53+
FILEVERSION 3,13,0,3
54+
PRODUCTVERSION 3,13,0,3
55+
FILEFLAGSMASK 0x3fL
56+
#ifdef _DEBUG
57+
FILEFLAGS 0x1L
58+
#else
59+
FILEFLAGS 0x0L
60+
#endif
61+
FILEOS 0x40004L
62+
FILETYPE 0x2L
63+
FILESUBTYPE 0x0L
64+
BEGIN
65+
BLOCK "StringFileInfo"
66+
BEGIN
67+
BLOCK "040904b0"
68+
BEGIN
69+
VALUE "CompanyName", "Software Freedom Conservancy"
70+
VALUE "FileDescription", "Driver library for the IE driver"
71+
VALUE "FileVersion", "3.13.0.3"
72+
VALUE "InternalName", "IEDriver.dll"
73+
VALUE "LegalCopyright", "Copyright (C) 2018"
74+
VALUE "OriginalFilename", "IEDriver.dll"
75+
VALUE "ProductName", "Selenium WebDriver"
76+
VALUE "ProductVersion", "3.13.0.3"
77+
END
78+
END
79+
BLOCK "VarFileInfo"
80+
BEGIN
81+
VALUE "Translation", 0x409, 1200
82+
END
83+
END
84+
85+
#endif // English (United States) resources
86+
/////////////////////////////////////////////////////////////////////////////
87+
88+
89+
90+
#ifndef APSTUDIO_INVOKED
91+
/////////////////////////////////////////////////////////////////////////////
92+
//
93+
// Generated from the TEXTINCLUDE 3 resource.
94+
//
95+
96+
97+
/////////////////////////////////////////////////////////////////////////////
98+
#endif // not APSTUDIO_INVOKED
99+

cpp/iedriver/IEDriver.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@
352352
<ClInclude Include="messages.h" />
353353
<ClInclude Include="ProxyManager.h" />
354354
<ClInclude Include="RegistryUtilities.h" />
355+
<ClInclude Include="resource.h" />
355356
<ClInclude Include="Script.h" />
356357
<ClInclude Include="stdafx.h" />
357358
<ClInclude Include="StringUtilities.h" />
@@ -368,6 +369,9 @@
368369
<Project>{d1b7e5b4-2caf-4c55-89e0-2634038c8472}</Project>
369370
</ProjectReference>
370371
</ItemGroup>
372+
<ItemGroup>
373+
<ResourceCompile Include="IEDriver.rc" />
374+
</ItemGroup>
371375
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
372376
<ImportGroup Label="ExtensionTargets">
373377
</ImportGroup>

cpp/iedriver/IEDriver.vcxproj.filters

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,18 @@
596596
<ClInclude Include="CommandHandlers\ScreenshotElementCommandHandler.h">
597597
<Filter>Header Files\CommandHandlers</Filter>
598598
</ClInclude>
599+
<ClInclude Include="resource.h">
600+
<Filter>Header Files</Filter>
601+
</ClInclude>
599602
</ItemGroup>
600603
<ItemGroup>
601604
<None Include="IEDriver.def">
602605
<Filter>Source Files</Filter>
603606
</None>
604607
</ItemGroup>
608+
<ItemGroup>
609+
<ResourceCompile Include="IEDriver.rc">
610+
<Filter>Resource Files</Filter>
611+
</ResourceCompile>
612+
</ItemGroup>
605613
</Project>

cpp/iedriver/resource.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by IEDriver.rc
4+
5+
// Next default values for new objects
6+
//
7+
#ifdef APSTUDIO_INVOKED
8+
#ifndef APSTUDIO_READONLY_SYMBOLS
9+
#define _APS_NEXT_RESOURCE_VALUE 101
10+
#define _APS_NEXT_COMMAND_VALUE 40001
11+
#define _APS_NEXT_CONTROL_VALUE 1001
12+
#define _APS_NEXT_SYMED_VALUE 101
13+
#endif
14+
#endif

0 commit comments

Comments
 (0)