-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LocalAuthenticationEmbeddedUI] Update bindings for Xcode 13.0 beta 2…
… and 3
- Loading branch information
1 parent
3847fe0
commit 254d372
Showing
4 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters