OLD | NEW |
| (Empty) |
1 // Copyright 2010 Google Inc. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
4 // you may not use this file except in compliance with the License. | |
5 // You may obtain a copy of the License at | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 // ======================================================================== | |
15 | |
16 #ifndef OMAHA_GOOPDATE_INSTALLER_RESULT_INFO_H_ | |
17 #define OMAHA_GOOPDATE_INSTALLER_RESULT_INFO_H_ | |
18 | |
19 #include <atlstr.h> | |
20 #include "goopdate/omaha3_idl.h" | |
21 #include "omaha/common/const_goopdate.h" | |
22 | |
23 namespace omaha { | |
24 | |
25 // TODO(omaha3): perhaps rename "text" to "message". | |
26 struct InstallerResultInfo { | |
27 InstallerResultInfo() | |
28 : type(INSTALLER_RESULT_UNKNOWN), | |
29 code(0), | |
30 extra_code1(0), | |
31 post_install_action(POST_INSTALL_ACTION_DEFAULT) {} | |
32 | |
33 InstallerResultType type; | |
34 DWORD code; | |
35 DWORD extra_code1; | |
36 CString text; | |
37 CString post_install_launch_command_line; | |
38 CString post_install_url; | |
39 PostInstallAction post_install_action; | |
40 }; | |
41 | |
42 } // namespace omaha | |
43 | |
44 #endif // OMAHA_GOOPDATE_INSTALLER_RESULT_INFO_H_ | |
OLD | NEW |