Skip to content

Commit

Permalink
[LocalAuthenticationEmbeddedUI] Update bindings for Xcode 13.0 beta 2…
Browse files Browse the repository at this point in the history
… and 3
  • Loading branch information
rachelkang committed Aug 24, 2021
1 parent 3847fe0 commit 254d372
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/frameworks.sources
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,7 @@ MAC_FRAMEWORKS = \
JavaScriptCore \
LinkPresentation \
LocalAuthentication \
LocalAuthenticationEmbeddedUI \
MailKit \
MapKit \
MediaAccessibility \
Expand Down
38 changes: 38 additions & 0 deletions src/localauthenticationembeddedui.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//
// LocalAuthenticationEmbeddedUI C# bindings
//
// Authors:
// Rachel Kang <rachelkang@microsoft.com>
//
// Copyright 2021 Microsoft Corporation All rights reserved.
//

using System;
using ObjCRuntime;
using Foundation;
using AppKit;
using CoreGraphics;
using LocalAuthentication;

namespace LocalAuthenticationEmbeddedUI {

[NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (12,0)]
[BaseType (typeof(NSView))]
interface LAAuthenticationView
{
[Export ("initWithFrame:")]
IntPtr Constructor (CGRect frameRect);

[Export ("initWithContext:")]
IntPtr Constructor (LAContext context);

[Export ("initWithContext:controlSize:")]
IntPtr Constructor (LAContext context, NSControlSize controlSize);

[Export ("context")]
LAContext Context { get; }

[Export ("controlSize")]
NSControlSize ControlSize { get; }
}
}
5 changes: 0 additions & 5 deletions tests/xtro-sharpie/macOS-LocalAuthenticationEmbeddedUI.todo

This file was deleted.

1 change: 1 addition & 0 deletions tools/common/Frameworks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ public static Frameworks MacFrameworks {
{ "AdServices", "AdServices", 11,1 },

{ "Chip", "CHIP", 12, 0 },
{ "LocalAuthenticationEmbeddedUI", "LocalAuthenticationEmbeddedUI", 12, 0 },
{ "MailKit", "MailKit", 12, 0 },
{ "MetricKit", 12, 0 },
{ "Phase", "PHASE", 12, 0 },
Expand Down

0 comments on commit 254d372

Please sign in to comment.