mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 15:26:11 +00:00
35 lines
837 B
Objective-C
35 lines
837 B
Objective-C
//
|
|
// StreamView.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 10/19/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "ControllerSupport.h"
|
|
#import "OnScreenControls.h"
|
|
|
|
@protocol EdgeDetectionDelegate <NSObject>
|
|
|
|
- (void) edgeSwiped;
|
|
|
|
@end
|
|
|
|
@protocol UserInteractionDelegate <NSObject>
|
|
|
|
- (void) userInteractionBegan;
|
|
- (void) userInteractionEnded;
|
|
|
|
@end
|
|
|
|
@interface StreamView : OSView <UITextFieldDelegate>
|
|
|
|
@property (nonatomic, retain) IBOutlet UITextField* keyInputField;
|
|
|
|
- (void) setupStreamView:(ControllerSupport*)controllerSupport swipeDelegate:(id<EdgeDetectionDelegate>)swipeDelegate interactionDelegate:(id<UserInteractionDelegate>)interactionDelegate;
|
|
- (void) showOnScreenControls;
|
|
- (void) setMouseDeltaFactors:(float)x y:(float)y;
|
|
- (OnScreenControlsLevel) getCurrentOscState;
|
|
|
|
@end
|