moonlight-ios/Limelight/Input/StreamView.h

35 lines
864 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"
2014-10-20 02:38:01 -04:00
2015-05-29 00:46:43 -07:00
@protocol EdgeDetectionDelegate <NSObject>
- (void) edgeSwiped;
@end
@protocol UserInteractionDelegate <NSObject>
- (void) userInteractionBegan;
- (void) userInteractionEnded;
@end
@interface StreamView : OSView <X1KitMouseDelegate>
2018-08-25 15:22:32 -07:00
@property (nonatomic, retain) IBOutlet UITextField* keyInputField;
2014-10-20 02:38:01 -04:00
- (void) setupStreamView:(ControllerSupport*)controllerSupport swipeDelegate:(id<EdgeDetectionDelegate>)swipeDelegate interactionDelegate:(id<UserInteractionDelegate>)interactionDelegate;
2019-10-22 00:16:20 -04:00
- (void) showOnScreenControls;
- (void) setMouseDeltaFactors:(float)x y:(float)y;
2019-10-22 00:16:20 -04:00
- (OnScreenControlsLevel) getCurrentOscState;
2014-10-20 02:38:01 -04:00
@end