Skip to content

Commit

Permalink
feat(windows_foundation): add NativePackageVersion struct (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
halildurmus committed Jun 1, 2023
1 parent 4668bcb commit d6a4e35
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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

0 comments on commit d6a4e35

Please sign in to comment.