moonlight-ios/Limelight/Network/PairManager.h

22 lines
521 B
C
Raw Normal View History

2014-10-20 02:59:16 -04:00
//
// PairManager.h
// Moonlight
2014-10-20 02:59:16 -04:00
//
// Created by Diego Waxemberg on 10/19/14.
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
2014-10-20 02:59:16 -04:00
//
#import "HttpManager.h"
2014-10-20 13:35:42 -04:00
@protocol PairCallback <NSObject>
2019-11-04 21:41:42 -08:00
- (void) startPairing:(NSString*)PIN;
2018-12-22 00:05:48 -08:00
- (void) pairSuccessful:(NSData*)serverCert;
2014-10-20 13:35:42 -04:00
- (void) pairFailed:(NSString*)message;
- (void) alreadyPaired;
2014-10-20 13:35:42 -04:00
@end
2014-10-20 02:59:16 -04:00
@interface PairManager : NSOperation
2018-12-22 00:05:48 -08:00
- (id) initWithManager:(HttpManager*)httpManager clientCert:(NSData*)clientCert callback:(id<PairCallback>)callback;
2014-10-20 02:59:16 -04:00
@end