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 * The two constructors are identical except for the type of argument 'message' | 8 * The two constructors are identical except for the type of argument 'message' |
9 * They rely on overloads of the Message constructor | 9 * They rely on overloads of the Message constructor |
10 */ | 10 */ |
11 Installer_Message_Box::Installer_Message_Box( | 11 InstallerMessageBox::InstallerMessageBox( |
12 std::wstring message, | 12 std::wstring message, |
13 box_type box, | 13 Box box, |
14 buttonset_type buttonset, | 14 ButtonSet buttonSet, |
15 default_button_type default_button, | 15 DefaultButton defaultButton, |
16 icon_type icon | 16 Icon icon |
17 ) | 17 ) |
18 : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon )
) | 18 : Message(message, INSTALLMESSAGE(long(box) | long(buttonSet) | long(defaultBu
tton) | long(icon))) |
19 {} | 19 {} |
20 | 20 |
21 Installer_Message_Box::Installer_Message_Box( | 21 InstallerMessageBox::InstallerMessageBox( |
22 std::string message, | 22 std::string message, |
23 box_type box, | 23 Box box, |
24 buttonset_type buttonset, | 24 ButtonSet buttonSet, |
25 default_button_type default_button, | 25 DefaultButton defaultButton, |
26 icon_type icon | 26 Icon icon |
27 ) | 27 ) |
28 : Message( message, INSTALLMESSAGE( box | buttonset | default_button | icon )
) | 28 : Message(message, INSTALLMESSAGE(long(box) | long(buttonSet) | long(defaultBu
tton) | long(icon))) |
29 {} | 29 {} |
OLD | NEW |