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