master
cpp 39 lines 871 Bytes
Raw
1 /*++
2
3 Copyright (c) Microsoft. All rights reserved.
4
5 Module Name:
6
7 InstallProgress.cpp
8
9 Abstract:
10
11 This file contains the implementation of the WinRT wrapper for the WSLC SDK InstallProgress class.
12
13 --*/
14
15 #include "precomp.h"
16 #include "InstallProgress.h"
17 #include "Microsoft.WSL.Containers.InstallProgress.g.cpp"
18
19 namespace winrt::Microsoft::WSL::Containers::implementation {
20 InstallProgress::InstallProgress(winrt::Microsoft::WSL::Containers::Component component, uint32_t progress, uint32_t total) :
21 m_component(component), m_progress(progress), m_total(total)
22 {
23 }
24
25 winrt::Microsoft::WSL::Containers::Component InstallProgress::Component()
26 {
27 return m_component;
28 }
29
30 uint32_t InstallProgress::Progress()
31 {
32 return m_progress;
33 }
34
35 uint32_t InstallProgress::Total()
36 {
37 return m_total;
38 }
39 } // namespace winrt::Microsoft::WSL::Containers::implementation