OLD | NEW |
1 /** | 1 /** |
2 * \file interaction.cpp Implementations of user interaction classes. | 2 * \file interaction.cpp Implementations of user interaction classes. |
3 */ | 3 */ |
4 | 4 |
5 #include "interaction.h" | 5 #include "interaction.h" |
6 | 6 |
7 /* | 7 /* |
8 * /sa MSDN "MsiProcessMessage function" | 8 * The two constructors are identical except for the type of argument 'message' |
9 * http://msdn.microsoft.com/en-us/library/windows/desktop/aa370354%28v=vs.85
%29.aspx | 9 * They rely on overloads of the Message constructor |
10 * | 10 */ |
11 * /sa MSDN "Sending Messages to Windows Installer Using MsiProcessMessage" | 11 Installer_Message_Box::Installer_Message_Box( |
12 * http://msdn.microsoft.com/en-us/library/windows/desktop/aa371614%28v=vs.85
%29.aspx | 12 std::wstring message, |
13 */ | 13 box_type box, |
| 14 buttonset_type buttonset, |
| 15 default_button_type default_button, |
| 16 icon_type icon |
| 17 ) |
| 18 : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon )
) |
| 19 {} |
| 20 |
| 21 Installer_Message_Box::Installer_Message_Box( |
| 22 std::string message, |
| 23 box_type box, |
| 24 buttonset_type buttonset, |
| 25 default_button_type default_button, |
| 26 icon_type icon |
| 27 ) |
| 28 : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon )
) |
| 29 {} |
OLD | NEW |