Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

feat(windows_foundation): add NativePackageVersion struct #221

Merged
merged 1 commit into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/windows_foundation/lib/src/internal/native_structs.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,20 @@ final class NativeNetworkUsageStates extends Struct {
external int shared;
}

final class NativePackageVersion extends Struct {
@Uint16()
external int major;

@Uint16()
external int minor;

@Uint16()
external int build;

@Uint16()
external int revision;
}

final class NativePlane extends Struct {
external NativeVector3 normal;

Expand Down
1 change: 1 addition & 0 deletions packages/winrtgen/data/structs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Windows.ApplicationModel.PackageVersion": "Represents the package version info.",
"Windows.Data.Text.TextSegment": "Identifies a sub-string of a source text string. Your app can use this structure to obtain the segment of your provided text that is identified by AlternateWordForm, SelectableWordSegment, WordSegment, or SemanticTextQuery.",
"Windows.Devices.Geolocation.BasicGeoposition": "The basic information to describe a geographic position.",
"Windows.Foundation.Numerics.Matrix3x2": "Describes a 3*2 floating point matrix.",
Expand Down