mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-27 06:32:59 +00:00
26 lines
527 B
Objective-C
26 lines
527 B
Objective-C
//
|
|
// UIComputerView.h
|
|
// Limelight
|
|
//
|
|
// Created by Diego Waxemberg on 10/22/14.
|
|
// Copyright (c) 2014 Limelight Stream. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "Host.h"
|
|
|
|
@protocol HostCallback <NSObject>
|
|
|
|
- (void) hostClicked:(Host*)host;
|
|
- (void) hostLongClicked:(Host*)host view:(UIView*)view;
|
|
- (void) addHostClicked;
|
|
|
|
@end
|
|
|
|
@interface UIComputerView : UIView
|
|
|
|
- (id) initWithComputer:(Host*)host andCallback:(id<HostCallback>)callback;
|
|
- (id) initForAddWithCallback:(id<HostCallback>)callback;
|
|
|
|
@end
|