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

Unified Diff: installer/src/installer-lib/interaction.cpp

Issue 6202981292703744: Whole installer (Closed)
Patch Set: Created June 24, 2014, 7:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ) )
+{}

Powered by Google App Engine
This is Rietveld