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