// // 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" #import "Moonlight-Swift.h" #import "StreamConfiguration.h" @protocol EdgeDetectionDelegate - (void) edgeSwiped; @end @protocol UserInteractionDelegate - (void) userInteractionBegan; - (void) userInteractionEnded; @end #if TARGET_OS_TV @interface StreamView : OSView #else @interface StreamView : OSView #endif @property (nonatomic, retain) IBOutlet UITextField* keyInputField; - (void) setupStreamView:(ControllerSupport*)controllerSupport swipeDelegate:(id)swipeDelegate interactionDelegate:(id)interactionDelegate config:(StreamConfiguration*)streamConfig; - (void) showOnScreenControls; - (OnScreenControlsLevel) getCurrentOscState; @end