2015-02-01 04:26:47 -05:00
|
|
|
//
|
|
|
|
|
// ServerInfoResponse.h
|
2015-05-12 21:48:30 -04:00
|
|
|
// Moonlight
|
2015-02-01 04:26:47 -05:00
|
|
|
//
|
|
|
|
|
// Created by Diego Waxemberg on 2/1/15.
|
2015-05-12 21:48:30 -04:00
|
|
|
// Copyright (c) 2015 Moonlight Stream. All rights reserved.
|
2015-02-01 04:26:47 -05:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import "HttpResponse.h"
|
2015-12-01 20:31:24 -08:00
|
|
|
#import "TemporaryHost.h"
|
2015-02-01 04:26:47 -05:00
|
|
|
|
2015-02-10 17:40:49 -05:00
|
|
|
#define TAG_HOSTNAME @"hostname"
|
|
|
|
|
#define TAG_EXTERNAL_IP @"ExternalIP"
|
2023-02-02 21:54:52 -06:00
|
|
|
#define TAG_HTTPS_PORT @"HttpsPort"
|
2015-02-10 17:40:49 -05:00
|
|
|
#define TAG_LOCAL_IP @"LocalIP"
|
|
|
|
|
#define TAG_UNIQUE_ID @"uniqueid"
|
|
|
|
|
#define TAG_MAC_ADDRESS @"mac"
|
|
|
|
|
#define TAG_PAIR_STATUS @"PairStatus"
|
2016-10-21 11:41:42 -07:00
|
|
|
#define TAG_STATE @"state"
|
|
|
|
|
#define TAG_CURRENT_GAME @"currentgame"
|
2015-02-10 17:40:49 -05:00
|
|
|
|
2023-02-02 21:54:52 -06:00
|
|
|
// Sunshine extension
|
|
|
|
|
#define TAG_EXTERNAL_PORT @"ExternalPort"
|
|
|
|
|
|
2015-02-01 04:26:47 -05:00
|
|
|
@interface ServerInfoResponse : HttpResponse <Response>
|
|
|
|
|
|
|
|
|
|
- (void) populateWithData:(NSData *)data;
|
2015-12-01 20:31:24 -08:00
|
|
|
- (void) populateHost:(TemporaryHost*)host;
|
2015-02-01 04:26:47 -05:00
|
|
|
|
|
|
|
|
@end
|
2015-02-10 17:40:49 -05:00
|
|
|
|