moonlight-ios/Limelight/Input/StreamView.h

37 lines
966 B
C
Raw Normal View History

2014-10-20 02:38:01 -04:00
//
// StreamView.h
// Moonlight
2014-10-20 02:38:01 -04:00
//
// Created by Cameron Gutman on 10/19/14.
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
2014-10-20 02:38:01 -04:00
//
#import "ControllerSupport.h"
2019-10-22 00:16:20 -04:00
#import "OnScreenControls.h"
#import "Moonlight-Swift.h"
#import "StreamConfiguration.h"
2014-10-20 02:38:01 -04:00
@protocol UserInteractionDelegate <NSObject>
- (void) userInteractionBegan;
- (void) userInteractionEnded;
@end
#if TARGET_OS_TV
@interface StreamView : UIView <X1KitMouseDelegate, UITextFieldDelegate>
#else
@interface StreamView : UIView <X1KitMouseDelegate, UITextFieldDelegate, UIPointerInteractionDelegate>
#endif
2018-08-25 15:22:32 -07:00
- (void) setupStreamView:(ControllerSupport*)controllerSupport
interactionDelegate:(id<UserInteractionDelegate>)interactionDelegate
config:(StreamConfiguration*)streamConfig;
2019-10-22 00:16:20 -04:00
- (void) showOnScreenControls;
- (OnScreenControlsLevel) getCurrentOscState;
2020-11-01 10:30:39 -06:00
#if !TARGET_OS_TV
- (void) updateCursorLocation:(CGPoint)location isMouse:(BOOL)isMouse;
2020-11-01 10:30:39 -06:00
#endif
2014-10-20 02:38:01 -04:00
@end