mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-02 15:56:21 +00:00
23 lines
521 B
Objective-C
23 lines
521 B
Objective-C
//
|
|
// PairManager.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 10/19/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "HttpManager.h"
|
|
|
|
@protocol PairCallback <NSObject>
|
|
|
|
- (void) startPairing:(NSString*)PIN;
|
|
- (void) pairSuccessful:(NSData*)serverCert;
|
|
- (void) pairFailed:(NSString*)message;
|
|
- (void) alreadyPaired;
|
|
|
|
@end
|
|
|
|
@interface PairManager : NSOperation
|
|
- (id) initWithManager:(HttpManager*)httpManager clientCert:(NSData*)clientCert callback:(id<PairCallback>)callback;
|
|
@end
|