Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/engine/engine.rc

Issue 10976008: Set version number in versioninfo automatically (Closed)
Patch Set: Created June 13, 2013, 10:31 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build_release.py ('k') | src/plugin/AdblockPlus.rc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "../shared/Version.h"
1 #include "Resource.h" 2 #include "Resource.h"
2 #include "winres.h" 3 #include "winres.h"
3 4
4 VS_VERSION_INFO VERSIONINFO 5 VS_VERSION_INFO VERSIONINFO
5 FILEVERSION 0,0,2,0 6 FILEVERSION VERSIONINFO_VERSION
6 PRODUCTVERSION 0,0,2,0 7 PRODUCTVERSION VERSIONINFO_VERSION
7 FILEFLAGSMASK 0x3fL 8 FILEFLAGSMASK 0x3fL
8 #ifdef _DEBUG 9 #ifdef _DEBUG
9 FILEFLAGS 0x1L 10 FILEFLAGS 0x1L
10 #else 11 #else
11 FILEFLAGS 0x0L 12 FILEFLAGS 0x0L
12 #endif 13 #endif
13 FILEOS 0x4L 14 FILEOS 0x4L
14 FILETYPE 0x2L 15 FILETYPE 0x2L
15 FILESUBTYPE 0x0L 16 FILESUBTYPE 0x0L
16 BEGIN 17 BEGIN
17 BLOCK "StringFileInfo" 18 BLOCK "StringFileInfo"
18 BEGIN 19 BEGIN
19 BLOCK "040904b0" 20 BLOCK "040904b0"
20 BEGIN 21 BEGIN
21 VALUE "CompanyName", "Eyeo GmbH" 22 VALUE "CompanyName", "Eyeo GmbH"
22 VALUE "FileDescription", "Adblock Plus Engine" 23 VALUE "FileDescription", "Adblock Plus Engine"
23 VALUE "FileVersion", "0, 0, 2, 0" 24 VALUE "FileVersion", VERSIONINFO_VERSION_STR
24 VALUE "InternalName", "Adblock Plus Engine" 25 VALUE "InternalName", "Adblock Plus Engine"
25 VALUE "LegalCopyright", "Copyright 2013" 26 VALUE "LegalCopyright", "Copyright 2013"
26 VALUE "OriginalFilename", "AdblockPlusEngine.exe" 27 VALUE "OriginalFilename", "AdblockPlusEngine.exe"
27 VALUE "ProductName", "Adblock Plus" 28 VALUE "ProductName", "Adblock Plus"
28 VALUE "ProductVersion", "0, 0, 2, 0" 29 VALUE "ProductVersion", VERSIONINFO_VERSION_STR
29 END 30 END
30 END 31 END
31 BLOCK "VarFileInfo" 32 BLOCK "VarFileInfo"
32 BEGIN 33 BEGIN
33 VALUE "Translation", 0x409, 1200 34 VALUE "Translation", 0x409, 1200
34 END 35 END
35 END 36 END
36 37
37 IDD_UPDATEDIALOG DIALOGEX 0, 0, 159, 86 38 IDD_UPDATEDIALOG DIALOGEX 0, 0, 159, 86
38 STYLE WS_EX_TOPMOST | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAP TION 39 STYLE WS_EX_TOPMOST | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAP TION
39 CAPTION "Adblock Plus update available" 40 CAPTION "Adblock Plus update available"
40 FONT 8, "Microsoft Sans Serif", 400, 0, 0x0 41 FONT 8, "Microsoft Sans Serif", 400, 0, 0x0
41 BEGIN 42 BEGIN
42 DEFPUSHBUTTON "Yes",IDOK,22,65,50,14 43 DEFPUSHBUTTON "Yes",IDOK,22,65,50,14
43 PUSHBUTTON "No",IDCANCEL,82,65,50,14 44 PUSHBUTTON "No",IDCANCEL,82,65,50,14
44 LTEXT "A new version of Adblock Plus is available for download.",I DC_UPDATETEXT,7,10,142,17 45 LTEXT "A new version of Adblock Plus is available for download.",I DC_UPDATETEXT,7,10,142,17
45 LTEXT "Do you wish to download and install it now?",IDC_DOYOU,7,39 ,145,8 46 LTEXT "Do you wish to download and install it now?",IDC_DOYOU,7,39 ,145,8
46 END 47 END
47 48
48 IDD_DOWNLOADDIALOG DIALOGEX 0, 0, 259, 68 49 IDD_DOWNLOADDIALOG DIALOGEX 0, 0, 259, 68
49 STYLE WS_EX_TOPMOST | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAP TION 50 STYLE WS_EX_TOPMOST | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAP TION
50 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW 51 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW
51 CAPTION "Downloading Adblock Plus" 52 CAPTION "Downloading Adblock Plus"
52 FONT 8, "Microsoft Sans Serif", 0, 0, 0x0 53 FONT 8, "Microsoft Sans Serif", 0, 0, 0x0
53 BEGIN 54 BEGIN
54 PUSHBUTTON "Cancel",IDCANCEL,202,47,50,14 55 PUSHBUTTON "Cancel",IDCANCEL,202,47,50,14
55 CONTROL "",IDC_PROGRESS1,"msctls_progress32",WS_BORDER,7,28,245,12 56 CONTROL "",IDC_PROGRESS1,"msctls_progress32",WS_BORDER,7,28,245,12
56 LTEXT "Please wait...",IDC_INSTALLMSG,7,7,245,17 57 LTEXT "Please wait...",IDC_INSTALLMSG,7,7,245,17
57 END 58 END
OLDNEW
« no previous file with comments | « build_release.py ('k') | src/plugin/AdblockPlus.rc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld