mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 22:23:52 +00:00
Fix some Xcode 11 warnings
This commit is contained in:
@@ -194,6 +194,9 @@
|
|||||||
[_controllerStreamLock unlock];
|
[_controllerStreamLock unlock];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
||||||
-(void) unregisterControllerCallbacks:(GCController*) controller
|
-(void) unregisterControllerCallbacks:(GCController*) controller
|
||||||
{
|
{
|
||||||
if (controller != NULL) {
|
if (controller != NULL) {
|
||||||
@@ -428,6 +431,8 @@
|
|||||||
return controller.extendedGamepad != nil || controller.gamepad != nil;
|
return controller.extendedGamepad != nil || controller.gamepad != nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
+(int) getGamepadCount {
|
+(int) getGamepadCount {
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
UIAlertController* _pairAlert;
|
UIAlertController* _pairAlert;
|
||||||
LoadingFrameViewController* _loadingFrame;
|
LoadingFrameViewController* _loadingFrame;
|
||||||
UIScrollView* hostScrollView;
|
UIScrollView* hostScrollView;
|
||||||
int currentPosition;
|
FrontViewPosition currentPosition;
|
||||||
NSArray* _sortedAppList;
|
NSArray* _sortedAppList;
|
||||||
NSCache* _boxArtCache;
|
NSCache* _boxArtCache;
|
||||||
bool _background;
|
bool _background;
|
||||||
|
|||||||
@@ -861,10 +861,9 @@
|
|||||||
};
|
};
|
||||||
buildConfigurationList = FB290CE919B2C406004C83CF /* Build configuration list for PBXProject "Moonlight" */;
|
buildConfigurationList = FB290CE919B2C406004C83CF /* Build configuration list for PBXProject "Moonlight" */;
|
||||||
compatibilityVersion = "Xcode 8.0";
|
compatibilityVersion = "Xcode 8.0";
|
||||||
developmentRegion = English;
|
developmentRegion = en;
|
||||||
hasScannedForEncodings = 0;
|
hasScannedForEncodings = 0;
|
||||||
knownRegions = (
|
knownRegions = (
|
||||||
English,
|
|
||||||
en,
|
en,
|
||||||
Base,
|
Base,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -365,10 +365,11 @@
|
|||||||
};
|
};
|
||||||
buildConfigurationList = FB290E2919B37A4E004C83CF /* Build configuration list for PBXProject "moonlight-common" */;
|
buildConfigurationList = FB290E2919B37A4E004C83CF /* Build configuration list for PBXProject "moonlight-common" */;
|
||||||
compatibilityVersion = "Xcode 8.0";
|
compatibilityVersion = "Xcode 8.0";
|
||||||
developmentRegion = English;
|
developmentRegion = en;
|
||||||
hasScannedForEncodings = 0;
|
hasScannedForEncodings = 0;
|
||||||
knownRegions = (
|
knownRegions = (
|
||||||
en,
|
en,
|
||||||
|
Base,
|
||||||
);
|
);
|
||||||
mainGroup = FB290E2519B37A4E004C83CF;
|
mainGroup = FB290E2519B37A4E004C83CF;
|
||||||
productRefGroup = FB290E2F19B37A4E004C83CF /* Products */;
|
productRefGroup = FB290E2F19B37A4E004C83CF /* Products */;
|
||||||
|
|||||||
Reference in New Issue
Block a user