mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
84156698c4
NEEDS DESIGN - will likely have an intermediate "device manager" screen. * extracted QRCode Scanner into re-usable ViewController // FREEBIE
17 lines
596 B
Objective-C
17 lines
596 B
Objective-C
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
|
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface OWSQRCodeScanningViewController : UIViewController <AVCaptureMetadataOutputObjectsDelegate>
|
|
|
|
@property (nonatomic, strong) AVCaptureSession *session;
|
|
@property (nonatomic, strong) AVCaptureDevice *device;
|
|
@property (nonatomic, strong) AVCaptureDeviceInput *input;
|
|
@property (nonatomic, strong) AVCaptureMetadataOutput *output;
|
|
@property (nonatomic, strong) AVCaptureVideoPreviewLayer *prevLayer;
|
|
|
|
@property (nonatomic, strong) UIView *highlightView;
|
|
|
|
@end
|