master
h 36 lines 779 Bytes
Raw
1 /*++
2
3 Copyright (c) Microsoft. All rights reserved.
4
5 Module Name:
6
7 ServiceVersion.h
8
9 Abstract:
10
11 This file contains the definition of the WinRT wrapper for the WSLC SDK ServiceVersion class.
12
13 --*/
14
15 #pragma once
16 #include "Microsoft.WSL.Containers.ServiceVersion.g.h"
17 #include "Helpers.h"
18
19 namespace winrt::Microsoft::WSL::Containers::implementation {
20 struct ServiceVersion : ServiceVersionT<ServiceVersion>
21 {
22 ServiceVersion() = default;
23 ServiceVersion(uint32_t major, uint32_t minor, uint32_t revision);
24
25 uint32_t Major();
26 uint32_t Minor();
27 uint32_t Revision();
28
29 private:
30 uint32_t m_major{};
31 uint32_t m_minor{};
32 uint32_t m_revision{};
33 };
34 } // namespace winrt::Microsoft::WSL::Containers::implementation
35
36 DEFINE_TYPE_HELPERS(ServiceVersion);