Commit 876b116d authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Renamed UserPointer to CallContext in API

parent fe57dc38
......@@ -7,4 +7,5 @@
*/x86/
CoreProxyStub/Linphone.Core*
ARM/
Linphone.sdf
\ No newline at end of file
Linphone.sdf
Linphone.opensdf
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<FullDeploy>true</FullDeploy>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -113,12 +113,12 @@ Platform::String^ LinphoneCall::GetRemoteContact()
return nullptr;
}
void LinphoneCall::UserPointer::set(Platform::Object^ up)
void LinphoneCall::CallContext::set(Platform::Object^ cc)
{
this->userPointer = up;
this->callContext = cc;
}
Platform::Object^ LinphoneCall::UserPointer::get()
Platform::Object^ LinphoneCall::CallContext::get()
{
return this->userPointer;
return this->callContext;
}
\ No newline at end of file
......@@ -62,14 +62,14 @@ namespace Linphone
Platform::String^ GetRemoteUserAgent();
Platform::String^ GetRemoteContact();
property Platform::Object^ UserPointer
property Platform::Object^ CallContext
{
Platform::Object^ get();
void set(Platform::Object^ up);
void set(Platform::Object^ cc);
}
private:
Platform::Object^ userPointer;
Platform::Object^ callContext;
};
}
}
\ No newline at end of file
No preview for this file type
......@@ -12,7 +12,7 @@
<VisualStudio>
<FlavorProperties GUID="{C089C8C0-30E0-4E22-80C0-CE093F111A43}">
<SilverlightMobileCSProjectFlavor>
<FullDeploy>True</FullDeploy>
<FullDeploy>False</FullDeploy>
<DebuggerType>Managed</DebuggerType>
<Tombstone>False</Tombstone>
</SilverlightMobileCSProjectFlavor>
......
......@@ -258,7 +258,7 @@ namespace Linphone.Model
if (call != null)
{
VoipPhoneCall voipCall = CallController.NewOutgoingCall(sipAddress, "");
call.UserPointer = voipCall;
call.CallContext = voipCall;
}
}
......@@ -271,7 +271,7 @@ namespace Linphone.Model
{
LinphoneCall call = LinphoneCore.GetCalls().First();
LinphoneCore.TerminateCall(call);
CallController.EndCall(call.UserPointer as VoipPhoneCall);
CallController.EndCall(call.CallContext as VoipPhoneCall);
}
}
......@@ -309,7 +309,7 @@ namespace Linphone.Model
state == LinphoneCallState.Error ||
state == LinphoneCallState.Released)
{
CallController.EndCall(call.UserPointer as VoipPhoneCall);
CallController.EndCall(call.CallContext as VoipPhoneCall);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment