mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 10:19:32 +00:00
Added QR code scanner tooling for use in OTP auth URLs
This commit is contained in:
19
MacPass/NSImage+MPQRCode.h
Normal file
19
MacPass/NSImage+MPQRCode.h
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// NSImage+MPQRCode.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 10.12.20.
|
||||
// Copyright © 2020 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface NSImage (MPQRCode)
|
||||
|
||||
@property (nonatomic, readonly, copy) NSString *QRCodeString;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user