msix-packaging/MsixCore/msixmgr/InstallComplete.hpp

24 строки
605 B
C++

#pragma once
#include "GeneralUtil.hpp"
#include "IPackageHandler.hpp"
#include "MsixRequest.hpp"
namespace MsixCoreLib
{
class InstallComplete : IPackageHandler
{
public:
/// Send install complete message to UI
HRESULT ExecuteForAddRequest();
static const PCWSTR HandlerName;
static HRESULT CreateHandler(_In_ MsixRequest* msixRequest, _Out_ IPackageHandler** instance);
~InstallComplete() {}
private:
MsixRequest * m_msixRequest = nullptr;
InstallComplete() {}
InstallComplete(_In_ MsixRequest* msixRequest) : m_msixRequest(msixRequest) {}
};
}