| Index: installer/src/installer-lib/interaction.cpp |
| =================================================================== |
| --- a/installer/src/installer-lib/interaction.cpp |
| +++ b/installer/src/installer-lib/interaction.cpp |
| @@ -1,13 +1,29 @@ |
| /** |
| - * \file interaction.cpp Implementations of user interaction classes. |
| - */ |
| +* \file interaction.cpp Implementations of user interaction classes. |
| +*/ |
| #include "interaction.h" |
| /* |
| - * /sa MSDN "MsiProcessMessage function" |
| - * http://msdn.microsoft.com/en-us/library/windows/desktop/aa370354%28v=vs.85%29.aspx |
| - * |
| - * /sa MSDN "Sending Messages to Windows Installer Using MsiProcessMessage" |
| - * http://msdn.microsoft.com/en-us/library/windows/desktop/aa371614%28v=vs.85%29.aspx |
| - */ |
| +* The two constructors are identical except for the type of argument 'message' |
| +* They rely on overloads of the Message constructor |
| +*/ |
| +Installer_Message_Box::Installer_Message_Box( |
| + std::wstring message, |
| + box_type box, |
| + buttonset_type buttonset, |
| + default_button_type default_button, |
| + icon_type icon |
| + ) |
| + : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon ) ) |
| +{} |
| + |
| +Installer_Message_Box::Installer_Message_Box( |
| + std::string message, |
| + box_type box, |
| + buttonset_type buttonset, |
| + default_button_type default_button, |
| + icon_type icon |
| + ) |
| + : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon ) ) |
| +{} |