mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-18 22:40:04 +00:00
Update common-c submodule with const char * change
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
|
||||
- (void) connectionStarted;
|
||||
- (void) connectionTerminated:(long)errorCode;
|
||||
- (void) stageStarting:(char*)stageName;
|
||||
- (void) stageComplete:(char*)stageName;
|
||||
- (void) stageFailed:(char*)stageName withError:(long)errorCode;
|
||||
- (void) stageStarting:(const char*)stageName;
|
||||
- (void) stageComplete:(const char*)stageName;
|
||||
- (void) stageFailed:(const char*)stageName withError:(long)errorCode;
|
||||
- (void) launchFailed:(NSString*)message;
|
||||
- (void) displayMessage:(char*)message;
|
||||
- (void) displayTransientMessage:(char*)message;
|
||||
- (void) displayMessage:(const char*)message;
|
||||
- (void) displayTransientMessage:(const char*)message;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -229,17 +229,17 @@ void ArDecodeAndPlaySample(char* sampleData, int sampleLength)
|
||||
|
||||
void ClStageStarting(int stage)
|
||||
{
|
||||
[_callbacks stageStarting:(char*)LiGetStageName(stage)];
|
||||
[_callbacks stageStarting:LiGetStageName(stage)];
|
||||
}
|
||||
|
||||
void ClStageComplete(int stage)
|
||||
{
|
||||
[_callbacks stageComplete:(char*)LiGetStageName(stage)];
|
||||
[_callbacks stageComplete:LiGetStageName(stage)];
|
||||
}
|
||||
|
||||
void ClStageFailed(int stage, long errorCode)
|
||||
{
|
||||
[_callbacks stageFailed:(char*)LiGetStageName(stage) withError:errorCode];
|
||||
[_callbacks stageFailed:LiGetStageName(stage) withError:errorCode];
|
||||
}
|
||||
|
||||
void ClConnectionStarted(void)
|
||||
@@ -252,12 +252,12 @@ void ClConnectionTerminated(long errorCode)
|
||||
[_callbacks connectionTerminated: errorCode];
|
||||
}
|
||||
|
||||
void ClDisplayMessage(char* message)
|
||||
void ClDisplayMessage(const char* message)
|
||||
{
|
||||
[_callbacks displayMessage: message];
|
||||
}
|
||||
|
||||
void ClDisplayTransientMessage(char* message)
|
||||
void ClDisplayTransientMessage(const char* message)
|
||||
{
|
||||
[_callbacks displayTransientMessage: message];
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
[_streamMan stopStream];
|
||||
}
|
||||
|
||||
- (void) stageStarting:(char*)stageName {
|
||||
- (void) stageStarting:(const char*)stageName {
|
||||
Log(LOG_I, @"Starting %s", stageName);
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
NSString* lowerCase = [NSString stringWithFormat:@"%s in progress...", stageName];
|
||||
@@ -98,10 +98,10 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void) stageComplete:(char*)stageName {
|
||||
- (void) stageComplete:(const char*)stageName {
|
||||
}
|
||||
|
||||
- (void) stageFailed:(char*)stageName withError:(long)errorCode {
|
||||
- (void) stageFailed:(const char*)stageName withError:(long)errorCode {
|
||||
Log(LOG_I, @"Stage %s failed: %ld", stageName, errorCode);
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
@@ -132,11 +132,11 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void) displayMessage:(char*)message {
|
||||
- (void) displayMessage:(const char*)message {
|
||||
Log(LOG_I, @"Display message: %s", message);
|
||||
}
|
||||
|
||||
- (void) displayTransientMessage:(char*)message {
|
||||
- (void) displayTransientMessage:(const char*)message {
|
||||
Log(LOG_I, @"Display transient message: %s", message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user