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

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

Issue 11304082: Download updates automatically, ask to install from a modeless dialog (Closed)
Patch Set: Created July 31, 2013, 7:16 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« src/engine/Updater.cpp ('K') | « src/engine/Updater.cpp ('k') | no next file » | 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 "../shared/Version.h"
2 #include "Resource.h" 2 #include "Resource.h"
Wladimir Palant 2013/08/01 09:58:24 You should remove Resource.h - none of the IDs def
Felix Dahlke 2013/08/02 10:48:01 Done.
3 #include "winres.h" 3 #include "winres.h"
4 4
5 VS_VERSION_INFO VERSIONINFO 5 VS_VERSION_INFO VERSIONINFO
6 FILEVERSION VERSIONINFO_VERSION 6 FILEVERSION VERSIONINFO_VERSION
7 PRODUCTVERSION VERSIONINFO_VERSION 7 PRODUCTVERSION VERSIONINFO_VERSION
8 FILEFLAGSMASK 0x3fL 8 FILEFLAGSMASK 0x3fL
9 #ifdef _DEBUG 9 #ifdef _DEBUG
10 FILEFLAGS 0x1L 10 FILEFLAGS 0x1L
11 #else 11 #else
12 FILEFLAGS 0x0L 12 FILEFLAGS 0x0L
(...skipping 14 matching lines...) Expand all
27 VALUE "OriginalFilename", "AdblockPlusEngine.exe" 27 VALUE "OriginalFilename", "AdblockPlusEngine.exe"
28 VALUE "ProductName", "Adblock Plus" 28 VALUE "ProductName", "Adblock Plus"
29 VALUE "ProductVersion", VERSIONINFO_VERSION_STR 29 VALUE "ProductVersion", VERSIONINFO_VERSION_STR
30 END 30 END
31 END 31 END
32 BLOCK "VarFileInfo" 32 BLOCK "VarFileInfo"
33 BEGIN 33 BEGIN
34 VALUE "Translation", 0x409, 1200 34 VALUE "Translation", 0x409, 1200
35 END 35 END
36 END 36 END
37
38 IDD_UPDATEDIALOG DIALOGEX 0, 0, 159, 86
39 STYLE WS_EX_TOPMOST | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAP TION
40 CAPTION "Adblock Plus update available"
41 FONT 8, "Microsoft Sans Serif", 400, 0, 0x0
42 BEGIN
43 DEFPUSHBUTTON "Yes",IDOK,22,65,50,14
44 PUSHBUTTON "No",IDCANCEL,82,65,50,14
45 LTEXT "A new version of Adblock Plus is available for download.",I DC_UPDATETEXT,7,10,142,17
46 LTEXT "Do you wish to download and install it now?",IDC_DOYOU,7,39 ,145,8
47 END
48
49 IDD_DOWNLOADDIALOG DIALOGEX 0, 0, 259, 68
50 STYLE WS_EX_TOPMOST | DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAP TION
51 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW
52 CAPTION "Downloading Adblock Plus"
53 FONT 8, "Microsoft Sans Serif", 0, 0, 0x0
54 BEGIN
55 PUSHBUTTON "Cancel",IDCANCEL,202,47,50,14
56 CONTROL "",IDC_PROGRESS1,"msctls_progress32",WS_BORDER,7,28,245,12
57 LTEXT "Please wait...",IDC_INSTALLMSG,7,7,245,17
58 END
OLDNEW
« src/engine/Updater.cpp ('K') | « src/engine/Updater.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld