mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-27 14:45:34 +00:00
- now store host uuid and mac address - use uuid to check for duplicate hosts - try local and external IPs - pair status is shown - server status is shown - validate host when manually adding
25 lines
646 B
Objective-C
25 lines
646 B
Objective-C
//
|
|
// Host.h
|
|
// Limelight
|
|
//
|
|
// Created by Diego Waxemberg on 10/28/14.
|
|
// Copyright (c) 2014 Limelight Stream. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreData/CoreData.h>
|
|
#import "Utils.h"
|
|
|
|
@interface Host : NSManagedObject
|
|
|
|
@property (nonatomic, retain) NSString * name;
|
|
@property (nonatomic, retain) NSString * address;
|
|
@property (nonatomic, retain) NSString * localAddress;
|
|
@property (nonatomic, retain) NSString * externalAddress;
|
|
@property (nonatomic, retain) NSString * uuid;
|
|
@property (nonatomic, retain) NSString * mac;
|
|
@property (nonatomic) BOOL online;
|
|
@property (nonatomic) PairState pairState;
|
|
|
|
@end
|