diff options
| author | Rob Mensching <rob@firegiant.com> | 2024-03-21 00:59:21 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2024-03-21 13:07:14 -0700 |
| commit | 90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc (patch) | |
| tree | 8701442f92b68fc5d7d24ebc09449419b6824cd5 /src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp | |
| parent | a2b75ebed82be8c488f2840c359a512e865d682c (diff) | |
| download | wix-90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc.tar.gz wix-90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc.tar.bz2 wix-90cdebbe94c7f60db86965ffb97d9ba51d0bc9fc.zip | |
Simplify BootstrapperApplication header files
Take this breaking change opportunity to simplify the header files used by
BA devs.
Diffstat (limited to 'src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp')
| -rw-r--r-- | src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp b/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp index a8967a31..23db7c5f 100644 --- a/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp +++ b/src/ext/Bal/stdbas/WixInternalUIBootstrapperApplication.cpp | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | 2 | ||
| 3 | #include "precomp.h" | 3 | #include "precomp.h" |
| 4 | #include "BalBaseBootstrapperApplication.h" | ||
| 5 | 4 | ||
| 6 | static const LPCWSTR WIXIUIBA_WINDOW_CLASS = L"WixInternalUIBA"; | 5 | static const LPCWSTR WIXIUIBA_WINDOW_CLASS = L"WixInternalUIBA"; |
| 7 | 6 | ||
| @@ -15,10 +14,10 @@ enum WM_WIXIUIBA | |||
| 15 | }; | 14 | }; |
| 16 | 15 | ||
| 17 | 16 | ||
| 18 | class CWixInternalUIBootstrapperApplication : public CBalBaseBootstrapperApplication | 17 | class CWixInternalUIBootstrapperApplication : public CBootstrapperApplicationBase |
| 19 | { | 18 | { |
| 20 | public: // IBootstrapperApplication | 19 | public: // IBootstrapperApplication |
| 21 | STDMETHODIMP OnCreate( | 20 | virtual STDMETHODIMP OnCreate( |
| 22 | __in IBootstrapperEngine* pEngine, | 21 | __in IBootstrapperEngine* pEngine, |
| 23 | __in BOOTSTRAPPER_COMMAND* pCommand | 22 | __in BOOTSTRAPPER_COMMAND* pCommand |
| 24 | ) | 23 | ) |
| @@ -26,7 +25,7 @@ public: // IBootstrapperApplication | |||
| 26 | HRESULT hr = S_OK; | 25 | HRESULT hr = S_OK; |
| 27 | 26 | ||
| 28 | hr = __super::OnCreate(pEngine, pCommand); | 27 | hr = __super::OnCreate(pEngine, pCommand); |
| 29 | BalExitOnFailure(hr, "CBalBaseBootstrapperApplication initialization failed."); | 28 | BalExitOnFailure(hr, "CBootstrapperApplicationBase initialization failed."); |
| 30 | 29 | ||
| 31 | m_commandAction = pCommand->action; | 30 | m_commandAction = pCommand->action; |
| 32 | m_commandDisplay = pCommand->display; | 31 | m_commandDisplay = pCommand->display; |
| @@ -794,7 +793,7 @@ public: | |||
| 794 | // | 793 | // |
| 795 | CWixInternalUIBootstrapperApplication( | 794 | CWixInternalUIBootstrapperApplication( |
| 796 | __in HMODULE hModule | 795 | __in HMODULE hModule |
| 797 | ) : CBalBaseBootstrapperApplication(3, 3000) | 796 | ) : CBootstrapperApplicationBase(3, 3000) |
| 798 | { | 797 | { |
| 799 | m_hModule = hModule; | 798 | m_hModule = hModule; |
| 800 | m_commandAction = BOOTSTRAPPER_ACTION_UNKNOWN; | 799 | m_commandAction = BOOTSTRAPPER_ACTION_UNKNOWN; |
