Update bindings

This commit is contained in:
bossiel 2011-08-08 16:15:28 +00:00
parent 3ee89c75a0
commit 95eee66ab2
237 changed files with 7958 additions and 7129 deletions

View File

@ -406,7 +406,7 @@ bool SipStack::setCodecPriority(tdav_codec_id_t codec_id, int priority)
return tdav_codec_set_priority(codec_id, priority) == 0; return tdav_codec_set_priority(codec_id, priority) == 0;
} }
bool SipStack::setCodecPriority(int codec_id, int priority)// For stupid languages bool SipStack::setCodecPriority_2(int codec_id, int priority)// For stupid languages
{ {
return SipStack::setCodecPriority((tdav_codec_id_t)codec_id, priority); return SipStack::setCodecPriority((tdav_codec_id_t)codec_id, priority);
} }

View File

@ -84,7 +84,7 @@ public: /* API functions */
static void setCodecs(tdav_codec_id_t codecs); static void setCodecs(tdav_codec_id_t codecs);
static void setCodecs_2(int codecs); // For stupid languages static void setCodecs_2(int codecs); // For stupid languages
static bool setCodecPriority(tdav_codec_id_t codec_id, int priority); static bool setCodecPriority(tdav_codec_id_t codec_id, int priority);
static bool setCodecPriority(int codec, int priority);// For stupid languages static bool setCodecPriority_2(int codec, int priority);// For stupid languages
static bool isCodecSupported(tdav_codec_id_t codec_id); static bool isCodecSupported(tdav_codec_id_t codec_id);
public: /* Public helper function */ public: /* Public helper function */

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ActionConfig : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ActionConfig(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ActionConfig(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class AudioResampler : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_AudioResampler(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_AudioResampler(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class CallSession : InviteSession { public class CallSession : InviteSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal CallSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.CallSessionUpcast(cPtr), cMemoryOwn) { internal CallSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.CallSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class CallSession : InviteSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_CallSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_CallSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class DDebugCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_DDebugCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_DDebugCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,22 +46,22 @@ public class DDebugCallback : IDisposable {
} }
public virtual int OnDebugInfo(string message) { public virtual int OnDebugInfo(string message) {
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, message)); int ret = (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugInfo(swigCPtr, message));
return ret; return ret;
} }
public virtual int OnDebugWarn(string message) { public virtual int OnDebugWarn(string message) {
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, message)); int ret = (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugWarn(swigCPtr, message));
return ret; return ret;
} }
public virtual int OnDebugError(string message) { public virtual int OnDebugError(string message) {
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, message)); int ret = (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugError(swigCPtr, message));
return ret; return ret;
} }
public virtual int OnDebugFatal(string message) { public virtual int OnDebugFatal(string message) {
int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, message)); int ret = (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugFatal(swigCPtr, message));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class DialogEvent : SipEvent { public class DialogEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal DialogEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.DialogEventUpcast(cPtr), cMemoryOwn) { internal DialogEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.DialogEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class DialogEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_DialogEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_DialogEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class InviteEvent : SipEvent { public class InviteEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal InviteEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteEventUpcast(cPtr), cMemoryOwn) { internal InviteEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class InviteEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_InviteEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_InviteEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class InviteSession : SipSession { public class InviteSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal InviteSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteSessionUpcast(cPtr), cMemoryOwn) { internal InviteSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class InviteSession : SipSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_InviteSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_InviteSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class MediaContent : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MediaContent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MediaContent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class MediaContentCPIM : MediaContent { public class MediaContentCPIM : MediaContent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal MediaContentCPIM(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MediaContentCPIMUpcast(cPtr), cMemoryOwn) { internal MediaContentCPIM(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MediaContentCPIM_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class MediaContentCPIM : MediaContent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MediaContentCPIM(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MediaContentCPIM(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class MediaSessionMgr : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MediaSessionMgr(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MediaSessionMgr(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -176,6 +178,11 @@ public class MediaSessionMgr : IDisposable {
return ret; return ret;
} }
public static bool defaultsSetAudioGain(int producer_gain, int consumer_gain) {
bool ret = tinyWRAPPINVOKE.MediaSessionMgr_defaultsSetAudioGain(producer_gain, consumer_gain);
return ret;
}
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class MessagingEvent : SipEvent { public class MessagingEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal MessagingEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingEventUpcast(cPtr), cMemoryOwn) { internal MessagingEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class MessagingEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MessagingEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MessagingEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class MessagingSession : SipSession { public class MessagingSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal MessagingSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingSessionUpcast(cPtr), cMemoryOwn) { internal MessagingSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class MessagingSession : SipSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MessagingSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MessagingSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class MsrpCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MsrpCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MsrpCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,7 +46,7 @@ public class MsrpCallback : IDisposable {
} }
public virtual int OnEvent(MsrpEvent e) { public virtual int OnEvent(MsrpEvent e) {
int ret = ((this.GetType() == typeof(MsrpCallback)) ? tinyWRAPPINVOKE.MsrpCallback_OnEvent(swigCPtr, MsrpEvent.getCPtr(e)) : tinyWRAPPINVOKE.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, MsrpEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnEvent", swigMethodTypes0) ? tinyWRAPPINVOKE.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, MsrpEvent.getCPtr(e)) : tinyWRAPPINVOKE.MsrpCallback_OnEvent(swigCPtr, MsrpEvent.getCPtr(e)));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class MsrpEvent : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MsrpEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MsrpEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class MsrpMessage : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MsrpMessage(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MsrpMessage(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class MsrpSession : InviteSession { public class MsrpSession : InviteSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal MsrpSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MsrpSessionUpcast(cPtr), cMemoryOwn) { internal MsrpSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MsrpSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class MsrpSession : InviteSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_MsrpSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_MsrpSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class OptionsEvent : SipEvent { public class OptionsEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal OptionsEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsEventUpcast(cPtr), cMemoryOwn) { internal OptionsEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class OptionsEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_OptionsEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_OptionsEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class OptionsSession : SipSession { public class OptionsSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal OptionsSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsSessionUpcast(cPtr), cMemoryOwn) { internal OptionsSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class OptionsSession : SipSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_OptionsSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_OptionsSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class ProxyAudioConsumer : ProxyPlugin { public class ProxyAudioConsumer : ProxyPlugin {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal ProxyAudioConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioConsumerUpcast(cPtr), cMemoryOwn) { internal ProxyAudioConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioConsumer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class ProxyAudioConsumer : ProxyPlugin {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyAudioConsumer(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyAudioConsumer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyAudioConsumerCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyAudioConsumerCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyAudioConsumerCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,22 +46,22 @@ public class ProxyAudioConsumerCallback : IDisposable {
} }
public virtual int prepare(int ptime, int rate, int channels) { public virtual int prepare(int ptime, int rate, int channels) {
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepare(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, ptime, rate, channels)); int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepare(swigCPtr, ptime, rate, channels));
return ret; return ret;
} }
public virtual int start() { public virtual int start() {
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_start(swigCPtr));
return ret; return ret;
} }
public virtual int pause() { public virtual int pause() {
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pause(swigCPtr));
return ret; return ret;
} }
public virtual int stop() { public virtual int stop() {
int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stop(swigCPtr));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class ProxyAudioProducer : ProxyPlugin { public class ProxyAudioProducer : ProxyPlugin {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal ProxyAudioProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioProducerUpcast(cPtr), cMemoryOwn) { internal ProxyAudioProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioProducer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class ProxyAudioProducer : ProxyPlugin {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyAudioProducer(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyAudioProducer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyAudioProducerCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyAudioProducerCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyAudioProducerCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,22 +46,22 @@ public class ProxyAudioProducerCallback : IDisposable {
} }
public virtual int prepare(int ptime, int rate, int channels) { public virtual int prepare(int ptime, int rate, int channels) {
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepare(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, ptime, rate, channels)); int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepare(swigCPtr, ptime, rate, channels));
return ret; return ret;
} }
public virtual int start() { public virtual int start() {
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_start(swigCPtr));
return ret; return ret;
} }
public virtual int pause() { public virtual int pause() {
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_pause(swigCPtr));
return ret; return ret;
} }
public virtual int stop() { public virtual int stop() {
int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_stop(swigCPtr));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyPlugin : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyPlugin(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyPlugin(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyPluginMgr : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyPluginMgr(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyPluginMgr(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyPluginMgrCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyPluginMgrCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyPluginMgrCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,12 +46,12 @@ public class ProxyPluginMgrCallback : IDisposable {
} }
public virtual int OnPluginCreated(ulong id, twrap_proxy_plugin_type_t type) { public virtual int OnPluginCreated(ulong id, twrap_proxy_plugin_type_t type) {
int ret = ((this.GetType() == typeof(ProxyPluginMgrCallback)) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type)); int ret = (SwigDerivedClassHasMethod("OnPluginCreated", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, id, (int)type));
return ret; return ret;
} }
public virtual int OnPluginDestroyed(ulong id, twrap_proxy_plugin_type_t type) { public virtual int OnPluginDestroyed(ulong id, twrap_proxy_plugin_type_t type) {
int ret = ((this.GetType() == typeof(ProxyPluginMgrCallback)) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type)); int ret = (SwigDerivedClassHasMethod("OnPluginDestroyed", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, id, (int)type));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class ProxyVideoConsumer : ProxyPlugin { public class ProxyVideoConsumer : ProxyPlugin {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal ProxyVideoConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoConsumerUpcast(cPtr), cMemoryOwn) { internal ProxyVideoConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoConsumer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class ProxyVideoConsumer : ProxyPlugin {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyVideoConsumer(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyVideoConsumer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyVideoConsumerCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyVideoConsumerCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyVideoConsumerCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,32 +46,32 @@ public class ProxyVideoConsumerCallback : IDisposable {
} }
public virtual int prepare(int nWidth, int nHeight, int nFps) { public virtual int prepare(int nWidth, int nHeight, int nFps) {
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepare(swigCPtr, nWidth, nHeight, nFps) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, nWidth, nHeight, nFps)); int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, nWidth, nHeight, nFps) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepare(swigCPtr, nWidth, nHeight, nFps));
return ret; return ret;
} }
public virtual int consume(ProxyVideoFrame frame) { public virtual int consume(ProxyVideoFrame frame) {
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consume(swigCPtr, ProxyVideoFrame.getCPtr(frame)) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, ProxyVideoFrame.getCPtr(frame))); int ret = (SwigDerivedClassHasMethod("consume", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, ProxyVideoFrame.getCPtr(frame)) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consume(swigCPtr, ProxyVideoFrame.getCPtr(frame)));
return ret; return ret;
} }
public virtual int bufferCopied(uint nCopiedSize, uint nAvailableSize) { public virtual int bufferCopied(uint nCopiedSize, uint nAvailableSize) {
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopied(swigCPtr, nCopiedSize, nAvailableSize) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopiedSwigExplicitProxyVideoConsumerCallback(swigCPtr, nCopiedSize, nAvailableSize)); int ret = (SwigDerivedClassHasMethod("bufferCopied", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopiedSwigExplicitProxyVideoConsumerCallback(swigCPtr, nCopiedSize, nAvailableSize) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_bufferCopied(swigCPtr, nCopiedSize, nAvailableSize));
return ret; return ret;
} }
public virtual int start() { public virtual int start() {
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_start(swigCPtr));
return ret; return ret;
} }
public virtual int pause() { public virtual int pause() {
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes4) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pause(swigCPtr));
return ret; return ret;
} }
public virtual int stop() { public virtual int stop() {
int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes5) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stop(swigCPtr));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyVideoFrame : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyVideoFrame(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyVideoFrame(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class ProxyVideoProducer : ProxyPlugin { public class ProxyVideoProducer : ProxyPlugin {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal ProxyVideoProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoProducerUpcast(cPtr), cMemoryOwn) { internal ProxyVideoProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoProducer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class ProxyVideoProducer : ProxyPlugin {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyVideoProducer(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyVideoProducer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class ProxyVideoProducerCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_ProxyVideoProducerCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_ProxyVideoProducerCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,22 +46,22 @@ public class ProxyVideoProducerCallback : IDisposable {
} }
public virtual int prepare(int width, int height, int fps) { public virtual int prepare(int width, int height, int fps) {
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepare(swigCPtr, width, height, fps) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, width, height, fps)); int ret = (SwigDerivedClassHasMethod("prepare", swigMethodTypes0) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, width, height, fps) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepare(swigCPtr, width, height, fps));
return ret; return ret;
} }
public virtual int start() { public virtual int start() {
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("start", swigMethodTypes1) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_start(swigCPtr));
return ret; return ret;
} }
public virtual int pause() { public virtual int pause() {
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("pause", swigMethodTypes2) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_pause(swigCPtr));
return ret; return ret;
} }
public virtual int stop() { public virtual int stop() {
int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr)); int ret = (SwigDerivedClassHasMethod("stop", swigMethodTypes3) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_stop(swigCPtr));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class PublicationEvent : SipEvent { public class PublicationEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal PublicationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationEventUpcast(cPtr), cMemoryOwn) { internal PublicationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class PublicationEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_PublicationEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_PublicationEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class PublicationSession : SipSession { public class PublicationSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal PublicationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationSessionUpcast(cPtr), cMemoryOwn) { internal PublicationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class PublicationSession : SipSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_PublicationSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_PublicationSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class RPMessage : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_RPMessage(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_RPMessage(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class RegistrationEvent : SipEvent { public class RegistrationEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEventUpcast(cPtr), cMemoryOwn) { internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class RegistrationEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class RegistrationSession : SipSession { public class RegistrationSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSessionUpcast(cPtr), cMemoryOwn) { internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class RegistrationSession : SipSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SMSData : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SMSData(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SMSData(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SMSEncoder : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SMSEncoder(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SMSEncoder(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SafeObject : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SafeObject(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SafeObject(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SdpMessage : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SdpMessage(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SdpMessage(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SipCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,42 +46,42 @@ public class SipCallback : IDisposable {
} }
public virtual int OnDialogEvent(DialogEvent e) { public virtual int OnDialogEvent(DialogEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnDialogEvent(swigCPtr, DialogEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, DialogEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnDialogEvent", swigMethodTypes0) ? tinyWRAPPINVOKE.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, DialogEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnDialogEvent(swigCPtr, DialogEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnStackEvent(StackEvent e) { public virtual int OnStackEvent(StackEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnStackEvent(swigCPtr, StackEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, StackEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnStackEvent", swigMethodTypes1) ? tinyWRAPPINVOKE.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, StackEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnStackEvent(swigCPtr, StackEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnInviteEvent(InviteEvent e) { public virtual int OnInviteEvent(InviteEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnInviteEvent(swigCPtr, InviteEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, InviteEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnInviteEvent", swigMethodTypes2) ? tinyWRAPPINVOKE.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, InviteEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnInviteEvent(swigCPtr, InviteEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnMessagingEvent(MessagingEvent e) { public virtual int OnMessagingEvent(MessagingEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnMessagingEvent(swigCPtr, MessagingEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, MessagingEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnMessagingEvent", swigMethodTypes3) ? tinyWRAPPINVOKE.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, MessagingEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnMessagingEvent(swigCPtr, MessagingEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnOptionsEvent(OptionsEvent e) { public virtual int OnOptionsEvent(OptionsEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnOptionsEvent(swigCPtr, OptionsEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, OptionsEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnOptionsEvent", swigMethodTypes4) ? tinyWRAPPINVOKE.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, OptionsEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnOptionsEvent(swigCPtr, OptionsEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnPublicationEvent(PublicationEvent e) { public virtual int OnPublicationEvent(PublicationEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnPublicationEvent(swigCPtr, PublicationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, PublicationEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnPublicationEvent", swigMethodTypes5) ? tinyWRAPPINVOKE.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, PublicationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnPublicationEvent(swigCPtr, PublicationEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnRegistrationEvent(RegistrationEvent e) { public virtual int OnRegistrationEvent(RegistrationEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationEvent(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnRegistrationEvent", swigMethodTypes6) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationEvent(swigCPtr, RegistrationEvent.getCPtr(e)));
return ret; return ret;
} }
public virtual int OnSubscriptionEvent(SubscriptionEvent e) { public virtual int OnSubscriptionEvent(SubscriptionEvent e) {
int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionEvent(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("OnSubscriptionEvent", swigMethodTypes7) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionEvent(swigCPtr, SubscriptionEvent.getCPtr(e)));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SipEvent : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SipMessage : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SipMessage(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipMessage(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SipSession : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SipSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class SipStack : SafeObject { public class SipStack : SafeObject {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStackUpcast(cPtr), cMemoryOwn) { internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStack_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class SipStack : SafeObject {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SipStack(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipStack(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }
@ -214,8 +216,18 @@ public class SipStack : SafeObject {
tinyWRAPPINVOKE.SipStack_setCodecs_2(codecs); tinyWRAPPINVOKE.SipStack_setCodecs_2(codecs);
} }
public static bool isCodecSupported(tdav_codec_id_t codec) { public static bool setCodecPriority(tdav_codec_id_t codec_id, int priority) {
bool ret = tinyWRAPPINVOKE.SipStack_isCodecSupported((int)codec); bool ret = tinyWRAPPINVOKE.SipStack_setCodecPriority((int)codec_id, priority);
return ret;
}
public static bool setCodecPriority_2(int codec, int priority) {
bool ret = tinyWRAPPINVOKE.SipStack_setCodecPriority_2(codec, priority);
return ret;
}
public static bool isCodecSupported(tdav_codec_id_t codec_id) {
bool ret = tinyWRAPPINVOKE.SipStack_isCodecSupported((int)codec_id);
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class SipUri : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SipUri(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SipUri(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class StackEvent : SipEvent { public class StackEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal StackEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.StackEventUpcast(cPtr), cMemoryOwn) { internal StackEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.StackEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class StackEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_StackEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_StackEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class SubscriptionEvent : SipEvent { public class SubscriptionEvent : SipEvent {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEventUpcast(cPtr), cMemoryOwn) { internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class SubscriptionEvent : SipEvent {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
public class SubscriptionSession : SipSession { public class SubscriptionSession : SipSession {
private HandleRef swigCPtr; private HandleRef swigCPtr;
internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSessionUpcast(cPtr), cMemoryOwn) { internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSession_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr); swigCPtr = new HandleRef(this, cPtr);
} }
@ -28,11 +28,13 @@ public class SubscriptionSession : SipSession {
public override void Dispose() { public override void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
base.Dispose(); base.Dispose();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class XcapCallback : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_XcapCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_XcapCallback(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
@ -44,7 +46,7 @@ public class XcapCallback : IDisposable {
} }
public virtual int onEvent(XcapEvent e) { public virtual int onEvent(XcapEvent e) {
int ret = ((this.GetType() == typeof(XcapCallback)) ? tinyWRAPPINVOKE.XcapCallback_onEvent(swigCPtr, XcapEvent.getCPtr(e)) : tinyWRAPPINVOKE.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, XcapEvent.getCPtr(e))); int ret = (SwigDerivedClassHasMethod("onEvent", swigMethodTypes0) ? tinyWRAPPINVOKE.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, XcapEvent.getCPtr(e)) : tinyWRAPPINVOKE.XcapCallback_onEvent(swigCPtr, XcapEvent.getCPtr(e)));
return ret; return ret;
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class XcapEvent : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_XcapEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_XcapEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class XcapMessage : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_XcapMessage(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_XcapMessage(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class XcapSelector : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_XcapSelector(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_XcapSelector(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -30,11 +30,13 @@ public class XcapStack : IDisposable {
public virtual void Dispose() { public virtual void Dispose() {
lock(this) { lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { if (swigCPtr.Handle != IntPtr.Zero) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPPINVOKE.delete_XcapStack(swigCPtr); swigCMemOwn = false;
tinyWRAPPINVOKE.delete_XcapStack(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
} }
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -185,6 +185,10 @@ class tinyWRAPPINVOKE {
static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
static tinyWRAPPINVOKE() {
}
[DllImport("tinyWRAP", EntryPoint="CSharp_new_DDebugCallback")] [DllImport("tinyWRAP", EntryPoint="CSharp_new_DDebugCallback")]
public static extern IntPtr new_DDebugCallback(); public static extern IntPtr new_DDebugCallback();
@ -338,6 +342,9 @@ class tinyWRAPPINVOKE {
[DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_defaultsSetScreenSize")] [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_defaultsSetScreenSize")]
public static extern bool MediaSessionMgr_defaultsSetScreenSize(int jarg1, int jarg2); public static extern bool MediaSessionMgr_defaultsSetScreenSize(int jarg1, int jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_defaultsSetAudioGain")]
public static extern bool MediaSessionMgr_defaultsSetAudioGain(int jarg1, int jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_delete_MediaContent")] [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MediaContent")]
public static extern void delete_MediaContent(HandleRef jarg1); public static extern void delete_MediaContent(HandleRef jarg1);
@ -1349,6 +1356,12 @@ class tinyWRAPPINVOKE {
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setCodecs_2")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setCodecs_2")]
public static extern void SipStack_setCodecs_2(int jarg1); public static extern void SipStack_setCodecs_2(int jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setCodecPriority")]
public static extern bool SipStack_setCodecPriority(int jarg1, int jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setCodecPriority_2")]
public static extern bool SipStack_setCodecPriority_2(int jarg1, int jarg2);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_isCodecSupported")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_isCodecSupported")]
public static extern bool SipStack_isCodecSupported(int jarg1); public static extern bool SipStack_isCodecSupported(int jarg1);
@ -1667,71 +1680,71 @@ class tinyWRAPPINVOKE {
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpCallback_director_connect")] [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpCallback_director_connect")]
public static extern void MsrpCallback_director_connect(HandleRef jarg1, MsrpCallback.SwigDelegateMsrpCallback_0 delegate0); public static extern void MsrpCallback_director_connect(HandleRef jarg1, MsrpCallback.SwigDelegateMsrpCallback_0 delegate0);
[DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIMUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIM_SWIGUpcast")]
public static extern IntPtr MediaContentCPIMUpcast(IntPtr objectRef); public static extern IntPtr MediaContentCPIM_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_DialogEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_DialogEvent_SWIGUpcast")]
public static extern IntPtr DialogEventUpcast(IntPtr objectRef); public static extern IntPtr DialogEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_StackEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_StackEvent_SWIGUpcast")]
public static extern IntPtr StackEventUpcast(IntPtr objectRef); public static extern IntPtr StackEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_InviteEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_SWIGUpcast")]
public static extern IntPtr InviteEventUpcast(IntPtr objectRef); public static extern IntPtr InviteEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEvent_SWIGUpcast")]
public static extern IntPtr MessagingEventUpcast(IntPtr objectRef); public static extern IntPtr MessagingEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEvent_SWIGUpcast")]
public static extern IntPtr OptionsEventUpcast(IntPtr objectRef); public static extern IntPtr OptionsEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEvent_SWIGUpcast")]
public static extern IntPtr PublicationEventUpcast(IntPtr objectRef); public static extern IntPtr PublicationEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_SWIGUpcast")]
public static extern IntPtr RegistrationEventUpcast(IntPtr objectRef); public static extern IntPtr RegistrationEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEventUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_SWIGUpcast")]
public static extern IntPtr SubscriptionEventUpcast(IntPtr objectRef); public static extern IntPtr SubscriptionEvent_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_InviteSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_SWIGUpcast")]
public static extern IntPtr InviteSessionUpcast(IntPtr objectRef); public static extern IntPtr InviteSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_CallSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_SWIGUpcast")]
public static extern IntPtr CallSessionUpcast(IntPtr objectRef); public static extern IntPtr CallSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_SWIGUpcast")]
public static extern IntPtr MsrpSessionUpcast(IntPtr objectRef); public static extern IntPtr MsrpSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSession_SWIGUpcast")]
public static extern IntPtr MessagingSessionUpcast(IntPtr objectRef); public static extern IntPtr MessagingSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_OptionsSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsSession_SWIGUpcast")]
public static extern IntPtr OptionsSessionUpcast(IntPtr objectRef); public static extern IntPtr OptionsSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSession_SWIGUpcast")]
public static extern IntPtr PublicationSessionUpcast(IntPtr objectRef); public static extern IntPtr PublicationSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_SWIGUpcast")]
public static extern IntPtr RegistrationSessionUpcast(IntPtr objectRef); public static extern IntPtr RegistrationSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSessionUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_SWIGUpcast")]
public static extern IntPtr SubscriptionSessionUpcast(IntPtr objectRef); public static extern IntPtr SubscriptionSession_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_SWIGUpcast")]
public static extern IntPtr ProxyAudioConsumerUpcast(IntPtr objectRef); public static extern IntPtr ProxyAudioConsumer_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_SWIGUpcast")]
public static extern IntPtr ProxyVideoConsumerUpcast(IntPtr objectRef); public static extern IntPtr ProxyVideoConsumer_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducer_SWIGUpcast")]
public static extern IntPtr ProxyAudioProducerUpcast(IntPtr objectRef); public static extern IntPtr ProxyAudioProducer_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_SWIGUpcast")]
public static extern IntPtr ProxyVideoProducerUpcast(IntPtr objectRef); public static extern IntPtr ProxyVideoProducer_SWIGUpcast(IntPtr jarg1);
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStackUpcast")] [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_SWIGUpcast")]
public static extern IntPtr SipStackUpcast(IntPtr objectRef); public static extern IntPtr SipStack_SWIGUpcast(IntPtr jarg1);
} }
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* This file is not intended to be easily readable and contains a number of * This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make * coding conventions designed to improve portability and efficiency. Do not make
@ -35,114 +35,114 @@ template <typename T> T SwigValueInit() {
} }
#endif #endif
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* This section contains generic SWIG labels for method/variable * This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels. * declarations/attributes, and other compiler dependent labels.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
/* template workaround for compilers that cannot correctly implement the C++ standard */ /* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR #ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
# define SWIGTEMPLATEDISAMBIGUATOR template # define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC) # elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
# define SWIGTEMPLATEDISAMBIGUATOR template # define SWIGTEMPLATEDISAMBIGUATOR template
# else # else
# define SWIGTEMPLATEDISAMBIGUATOR # define SWIGTEMPLATEDISAMBIGUATOR
# endif # endif
#endif #endif
/* inline attribute */ /* inline attribute */
#ifndef SWIGINLINE #ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline # define SWIGINLINE inline
# else # else
# define SWIGINLINE # define SWIGINLINE
# endif # endif
#endif #endif
/* attribute recognised by some compilers to avoid 'unused' warnings */ /* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED #ifndef SWIGUNUSED
# if defined(__GNUC__) # if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__)) # define SWIGUNUSED __attribute__ ((__unused__))
# else # else
# define SWIGUNUSED # define SWIGUNUSED
# endif # endif
# elif defined(__ICC) # elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__)) # define SWIGUNUSED __attribute__ ((__unused__))
# else # else
# define SWIGUNUSED # define SWIGUNUSED
# endif # endif
#endif #endif
#ifndef SWIG_MSC_UNSUPPRESS_4505 #ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER) # if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */ # pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif # endif
#endif #endif
#ifndef SWIGUNUSEDPARM #ifndef SWIGUNUSEDPARM
# ifdef __cplusplus # ifdef __cplusplus
# define SWIGUNUSEDPARM(p) # define SWIGUNUSEDPARM(p)
# else # else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED # define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif # endif
#endif #endif
/* internal SWIG method */ /* internal SWIG method */
#ifndef SWIGINTERN #ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED # define SWIGINTERN static SWIGUNUSED
#endif #endif
/* internal inline SWIG method */ /* internal inline SWIG method */
#ifndef SWIGINTERNINLINE #ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif #endif
/* exporting methods */ /* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY # ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY # define GCC_HASCLASSVISIBILITY
# endif # endif
#endif #endif
#ifndef SWIGEXPORT #ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED) # if defined(STATIC_LINKED)
# define SWIGEXPORT # define SWIGEXPORT
# else # else
# define SWIGEXPORT __declspec(dllexport) # define SWIGEXPORT __declspec(dllexport)
# endif # endif
# else # else
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
# define SWIGEXPORT __attribute__ ((visibility("default"))) # define SWIGEXPORT __attribute__ ((visibility("default")))
# else # else
# define SWIGEXPORT # define SWIGEXPORT
# endif # endif
# endif # endif
#endif #endif
/* calling conventions for Windows */ /* calling conventions for Windows */
#ifndef SWIGSTDCALL #ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# define SWIGSTDCALL __stdcall # define SWIGSTDCALL __stdcall
# else # else
# define SWIGSTDCALL # define SWIGSTDCALL
# endif # endif
#endif #endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE # define _CRT_SECURE_NO_DEPRECATE
#endif #endif
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE # define _SCL_SECURE_NO_DEPRECATE
#endif #endif
#include <stdlib.h> #include <stdlib.h>
@ -202,7 +202,7 @@ static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = { static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
{ SWIG_CSharpArgumentException, NULL }, { SWIG_CSharpArgumentException, NULL },
{ SWIG_CSharpArgumentNullException, NULL }, { SWIG_CSharpArgumentNullException, NULL },
{ SWIG_CSharpArgumentOutOfRangeException, NULL }, { SWIG_CSharpArgumentOutOfRangeException, NULL }
}; };
static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) { static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
@ -280,56 +280,53 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_tinyWRAP(SWIG_CSharpStrin
#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution * director.swg
* of SWIG, and the README file for authors - http://www.swig.org/release.html. *
* * This file contains support for director classes so that C# proxy
* director.swg * methods can be called from C++.
* * ----------------------------------------------------------------------------- */
* This file contains support for director classes so that C# proxy
* methods can be called from C++. #ifdef __cplusplus
* ----------------------------------------------------------------------------- */
#if defined(DEBUG_DIRECTOR_OWNED)
#ifdef __cplusplus #include <iostream>
#endif
#if defined(DEBUG_DIRECTOR_OWNED) #include <string>
#include <iostream>
#endif namespace Swig {
#include <string> /* Director base class - not currently used in C# directors */
class Director {
namespace Swig { };
/* Director base class - not currently used in C# directors */
class Director { /* Base class for director exceptions */
}; class DirectorException {
protected:
/* Base class for director exceptions */ std::string swig_msg;
class DirectorException {
protected: public:
std::string swig_msg; DirectorException(const char* msg) : swig_msg(msg) {
}
public: DirectorException(const std::string &msg) : swig_msg(msg) {
DirectorException(const char* msg) : swig_msg(msg) { }
} const std::string& what() const {
DirectorException(const std::string &msg) : swig_msg(msg) { return swig_msg;
} }
const std::string& what() const { virtual ~DirectorException() {
return swig_msg; }
} };
virtual ~DirectorException() {
} /* Pure virtual method exception */
}; class DirectorPureVirtualException : public Swig::DirectorException {
public:
/* Pure virtual method exception */ DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempt to invoke pure virtual method ") + msg) {
class DirectorPureVirtualException : public Swig::DirectorException { }
public: };
DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempt to invoke pure virtual method ") + msg) { }
}
}; #endif /* __cplusplus */
}
#endif /* __cplusplus */
#include <stdint.h> // Use the C99 official header #include <stdint.h> // Use the C99 official header
@ -1746,6 +1743,20 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetScreenSize
} }
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAudioGain(int jarg1, int jarg2) {
unsigned int jresult ;
int32_t arg1 ;
int32_t arg2 ;
bool result;
arg1 = (int32_t)jarg1;
arg2 = (int32_t)jarg2;
result = (bool)MediaSessionMgr::defaultsSetAudioGain(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaContent(void * jarg1) { SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaContent(void * jarg1) {
MediaContent *arg1 = (MediaContent *) 0 ; MediaContent *arg1 = (MediaContent *) 0 ;
@ -6070,6 +6081,34 @@ SWIGEXPORT void SWIGSTDCALL CSharp_SipStack_setCodecs_2(int jarg1) {
} }
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setCodecPriority(int jarg1, int jarg2) {
unsigned int jresult ;
tdav_codec_id_t arg1 ;
int arg2 ;
bool result;
arg1 = (tdav_codec_id_t)jarg1;
arg2 = (int)jarg2;
result = (bool)SipStack::setCodecPriority(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setCodecPriority_2(int jarg1, int jarg2) {
unsigned int jresult ;
int arg1 ;
int arg2 ;
bool result;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
result = (bool)SipStack::setCodecPriority_2(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isCodecSupported(int jarg1) { SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isCodecSupported(int jarg1) {
unsigned int jresult ; unsigned int jresult ;
tdav_codec_id_t arg1 ; tdav_codec_id_t arg1 ;
@ -6086,7 +6125,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_transport_error_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 702; result = (int)(702);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6096,7 +6135,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_global_error_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 703; result = (int)(703);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6106,7 +6145,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_message_error_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 704; result = (int)(704);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6116,7 +6155,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_incoming_get()
int jresult ; int jresult ;
int result; int result;
result = (int) 800; result = (int)(800);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6126,7 +6165,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_outgoing_get()
int jresult ; int jresult ;
int result; int result;
result = (int) 802; result = (int)(802);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6136,7 +6175,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_cancelled_get()
int jresult ; int jresult ;
int result; int result;
result = (int) 803; result = (int)(803);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6146,7 +6185,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_sent_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 804; result = (int)(804);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6156,7 +6195,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connecting_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 900; result = (int)(900);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6166,7 +6205,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connected_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 901; result = (int)(901);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6176,7 +6215,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminating_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 902; result = (int)(902);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6186,7 +6225,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminated_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 903; result = (int)(903);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6196,7 +6235,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_started_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 950; result = (int)(950);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6206,7 +6245,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_stopped_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 951; result = (int)(951);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6216,7 +6255,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_start_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 952; result = (int)(952);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -6226,7 +6265,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_stop_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 953; result = (int)(953);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -7421,92 +7460,92 @@ SWIGEXPORT void SWIGSTDCALL CSharp_MsrpCallback_director_connect(void *objarg, S
} }
SWIGEXPORT MediaContent * SWIGSTDCALL CSharp_MediaContentCPIMUpcast(MediaContentCPIM *objectRef) { SWIGEXPORT MediaContent * SWIGSTDCALL CSharp_MediaContentCPIM_SWIGUpcast(MediaContentCPIM *jarg1) {
return (MediaContent *)objectRef; return (MediaContent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_DialogEventUpcast(DialogEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_DialogEvent_SWIGUpcast(DialogEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_StackEventUpcast(StackEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_StackEvent_SWIGUpcast(StackEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InviteEventUpcast(InviteEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InviteEvent_SWIGUpcast(InviteEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_MessagingEventUpcast(MessagingEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_MessagingEvent_SWIGUpcast(MessagingEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_OptionsEventUpcast(OptionsEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_OptionsEvent_SWIGUpcast(OptionsEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_PublicationEventUpcast(PublicationEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_PublicationEvent_SWIGUpcast(PublicationEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_RegistrationEventUpcast(RegistrationEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_RegistrationEvent_SWIGUpcast(RegistrationEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_SubscriptionEventUpcast(SubscriptionEvent *objectRef) { SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_SubscriptionEvent_SWIGUpcast(SubscriptionEvent *jarg1) {
return (SipEvent *)objectRef; return (SipEvent *)jarg1;
} }
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InviteSessionUpcast(InviteSession *objectRef) { SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InviteSession_SWIGUpcast(InviteSession *jarg1) {
return (SipSession *)objectRef; return (SipSession *)jarg1;
} }
SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_CallSessionUpcast(CallSession *objectRef) { SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_CallSession_SWIGUpcast(CallSession *jarg1) {
return (InviteSession *)objectRef; return (InviteSession *)jarg1;
} }
SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_MsrpSessionUpcast(MsrpSession *objectRef) { SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_MsrpSession_SWIGUpcast(MsrpSession *jarg1) {
return (InviteSession *)objectRef; return (InviteSession *)jarg1;
} }
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_MessagingSessionUpcast(MessagingSession *objectRef) { SWIGEXPORT SipSession * SWIGSTDCALL CSharp_MessagingSession_SWIGUpcast(MessagingSession *jarg1) {
return (SipSession *)objectRef; return (SipSession *)jarg1;
} }
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_OptionsSessionUpcast(OptionsSession *objectRef) { SWIGEXPORT SipSession * SWIGSTDCALL CSharp_OptionsSession_SWIGUpcast(OptionsSession *jarg1) {
return (SipSession *)objectRef; return (SipSession *)jarg1;
} }
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_PublicationSessionUpcast(PublicationSession *objectRef) { SWIGEXPORT SipSession * SWIGSTDCALL CSharp_PublicationSession_SWIGUpcast(PublicationSession *jarg1) {
return (SipSession *)objectRef; return (SipSession *)jarg1;
} }
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_RegistrationSessionUpcast(RegistrationSession *objectRef) { SWIGEXPORT SipSession * SWIGSTDCALL CSharp_RegistrationSession_SWIGUpcast(RegistrationSession *jarg1) {
return (SipSession *)objectRef; return (SipSession *)jarg1;
} }
SWIGEXPORT SipSession * SWIGSTDCALL CSharp_SubscriptionSessionUpcast(SubscriptionSession *objectRef) { SWIGEXPORT SipSession * SWIGSTDCALL CSharp_SubscriptionSession_SWIGUpcast(SubscriptionSession *jarg1) {
return (SipSession *)objectRef; return (SipSession *)jarg1;
} }
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioConsumerUpcast(ProxyAudioConsumer *objectRef) { SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioConsumer_SWIGUpcast(ProxyAudioConsumer *jarg1) {
return (ProxyPlugin *)objectRef; return (ProxyPlugin *)jarg1;
} }
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoConsumerUpcast(ProxyVideoConsumer *objectRef) { SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoConsumer_SWIGUpcast(ProxyVideoConsumer *jarg1) {
return (ProxyPlugin *)objectRef; return (ProxyPlugin *)jarg1;
} }
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioProducerUpcast(ProxyAudioProducer *objectRef) { SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioProducer_SWIGUpcast(ProxyAudioProducer *jarg1) {
return (ProxyPlugin *)objectRef; return (ProxyPlugin *)jarg1;
} }
SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoProducerUpcast(ProxyVideoProducer *objectRef) { SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoProducer_SWIGUpcast(ProxyVideoProducer *jarg1) {
return (ProxyPlugin *)objectRef; return (ProxyPlugin *)jarg1;
} }
SWIGEXPORT SafeObject * SWIGSTDCALL CSharp_SipStackUpcast(SipStack *objectRef) { SWIGEXPORT SafeObject * SWIGSTDCALL CSharp_SipStack_SWIGUpcast(SipStack *jarg1) {
return (SafeObject *)objectRef; return (SafeObject *)jarg1;
} }
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* This file is not intended to be easily readable and contains a number of * This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make * coding conventions designed to improve portability and efficiency. Do not make

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class ActionConfig {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected ActionConfig(long cPtr, boolean cMemoryOwn) { public ActionConfig(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(ActionConfig obj) { public static long getCPtr(ActionConfig obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class ActionConfig {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_ActionConfig(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_ActionConfig(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public ActionConfig() { public ActionConfig() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class AudioResampler {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected AudioResampler(long cPtr, boolean cMemoryOwn) { public AudioResampler(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(AudioResampler obj) { public static long getCPtr(AudioResampler obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class AudioResampler {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_AudioResampler(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_AudioResampler(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public AudioResampler(long nInFreq, long nOutFreq, long nFrameDuration, long nChannels, long nQuality) { public AudioResampler(long nInFreq, long nOutFreq, long nFrameDuration, long nChannels, long nQuality) {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class CallSession extends InviteSession { public class CallSession extends InviteSession {
private long swigCPtr; private long swigCPtr;
protected CallSession(long cPtr, boolean cMemoryOwn) { public CallSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGCallSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.CallSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(CallSession obj) { public static long getCPtr(CallSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class CallSession extends InviteSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_CallSession(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_CallSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class DDebugCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected DDebugCallback(long cPtr, boolean cMemoryOwn) { public DDebugCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(DDebugCallback obj) { public static long getCPtr(DDebugCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class DDebugCallback {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_DDebugCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_DDebugCallback(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class DialogEvent extends SipEvent { public class DialogEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected DialogEvent(long cPtr, boolean cMemoryOwn) { public DialogEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGDialogEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.DialogEvent_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(DialogEvent obj) { public static long getCPtr(DialogEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class DialogEvent extends SipEvent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_DialogEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_DialogEvent(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class InviteEvent extends SipEvent { public class InviteEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected InviteEvent(long cPtr, boolean cMemoryOwn) { public InviteEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGInviteEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.InviteEvent_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(InviteEvent obj) { public static long getCPtr(InviteEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class InviteEvent extends SipEvent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_InviteEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_InviteEvent(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class InviteSession extends SipSession { public class InviteSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected InviteSession(long cPtr, boolean cMemoryOwn) { public InviteSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGInviteSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.InviteSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(InviteSession obj) { public static long getCPtr(InviteSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class InviteSession extends SipSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_InviteSession(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_InviteSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class MediaContent {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected MediaContent(long cPtr, boolean cMemoryOwn) { public MediaContent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MediaContent obj) { public static long getCPtr(MediaContent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class MediaContent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MediaContent(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MediaContent(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public String getType() { public String getType() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class MediaContentCPIM extends MediaContent { public class MediaContentCPIM extends MediaContent {
private long swigCPtr; private long swigCPtr;
protected MediaContentCPIM(long cPtr, boolean cMemoryOwn) { public MediaContentCPIM(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGMediaContentCPIMUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.MediaContentCPIM_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MediaContentCPIM obj) { public static long getCPtr(MediaContentCPIM obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class MediaContentCPIM extends MediaContent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MediaContentCPIM(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MediaContentCPIM(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class MediaSessionMgr {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected MediaSessionMgr(long cPtr, boolean cMemoryOwn) { public MediaSessionMgr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MediaSessionMgr obj) { public static long getCPtr(MediaSessionMgr obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class MediaSessionMgr {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MediaSessionMgr(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MediaSessionMgr(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public boolean sessionSetInt32(twrap_media_type_t media, String key, int value) { public boolean sessionSetInt32(twrap_media_type_t media, String key, int value) {
@ -143,4 +145,8 @@ public class MediaSessionMgr {
return tinyWRAPJNI.MediaSessionMgr_defaultsSetScreenSize(sx, sy); return tinyWRAPJNI.MediaSessionMgr_defaultsSetScreenSize(sx, sy);
} }
public static boolean defaultsSetAudioGain(int producer_gain, int consumer_gain) {
return tinyWRAPJNI.MediaSessionMgr_defaultsSetAudioGain(producer_gain, consumer_gain);
}
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class MessagingEvent extends SipEvent { public class MessagingEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected MessagingEvent(long cPtr, boolean cMemoryOwn) { public MessagingEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGMessagingEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.MessagingEvent_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MessagingEvent obj) { public static long getCPtr(MessagingEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class MessagingEvent extends SipEvent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MessagingEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MessagingEvent(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class MessagingSession extends SipSession { public class MessagingSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected MessagingSession(long cPtr, boolean cMemoryOwn) { public MessagingSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGMessagingSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.MessagingSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MessagingSession obj) { public static long getCPtr(MessagingSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class MessagingSession extends SipSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MessagingSession(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MessagingSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class MsrpCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected MsrpCallback(long cPtr, boolean cMemoryOwn) { public MsrpCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MsrpCallback obj) { public static long getCPtr(MsrpCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class MsrpCallback {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MsrpCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MsrpCallback(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class MsrpEvent {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected MsrpEvent(long cPtr, boolean cMemoryOwn) { public MsrpEvent(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MsrpEvent obj) { public static long getCPtr(MsrpEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class MsrpEvent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MsrpEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MsrpEvent(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public tmsrp_event_type_t getType() { public tmsrp_event_type_t getType() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class MsrpMessage {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected MsrpMessage(long cPtr, boolean cMemoryOwn) { public MsrpMessage(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MsrpMessage obj) { public static long getCPtr(MsrpMessage obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class MsrpMessage {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MsrpMessage(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MsrpMessage(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public MsrpMessage() { public MsrpMessage() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class MsrpSession extends InviteSession { public class MsrpSession extends InviteSession {
private long swigCPtr; private long swigCPtr;
protected MsrpSession(long cPtr, boolean cMemoryOwn) { public MsrpSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGMsrpSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.MsrpSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(MsrpSession obj) { public static long getCPtr(MsrpSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class MsrpSession extends InviteSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_MsrpSession(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_MsrpSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class OptionsEvent extends SipEvent { public class OptionsEvent extends SipEvent {
private long swigCPtr; private long swigCPtr;
protected OptionsEvent(long cPtr, boolean cMemoryOwn) { public OptionsEvent(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGOptionsEventUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.OptionsEvent_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(OptionsEvent obj) { public static long getCPtr(OptionsEvent obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class OptionsEvent extends SipEvent {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_OptionsEvent(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_OptionsEvent(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class OptionsSession extends SipSession { public class OptionsSession extends SipSession {
private long swigCPtr; private long swigCPtr;
protected OptionsSession(long cPtr, boolean cMemoryOwn) { public OptionsSession(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGOptionsSessionUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.OptionsSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(OptionsSession obj) { public static long getCPtr(OptionsSession obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class OptionsSession extends SipSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_OptionsSession(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_OptionsSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class ProxyAudioConsumer extends ProxyPlugin { public class ProxyAudioConsumer extends ProxyPlugin {
private long swigCPtr; private long swigCPtr;
protected ProxyAudioConsumer(long cPtr, boolean cMemoryOwn) { public ProxyAudioConsumer(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGProxyAudioConsumerUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.ProxyAudioConsumer_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(ProxyAudioConsumer obj) { public static long getCPtr(ProxyAudioConsumer obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class ProxyAudioConsumer extends ProxyPlugin {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_ProxyAudioConsumer(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_ProxyAudioConsumer(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class ProxyAudioConsumerCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected ProxyAudioConsumerCallback(long cPtr, boolean cMemoryOwn) { public ProxyAudioConsumerCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(ProxyAudioConsumerCallback obj) { public static long getCPtr(ProxyAudioConsumerCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class ProxyAudioConsumerCallback {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_ProxyAudioConsumerCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_ProxyAudioConsumerCallback(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -11,12 +11,12 @@ package org.doubango.tinyWRAP;
public class ProxyAudioProducer extends ProxyPlugin { public class ProxyAudioProducer extends ProxyPlugin {
private long swigCPtr; private long swigCPtr;
protected ProxyAudioProducer(long cPtr, boolean cMemoryOwn) { public ProxyAudioProducer(long cPtr, boolean cMemoryOwn) {
super(tinyWRAPJNI.SWIGProxyAudioProducerUpcast(cPtr), cMemoryOwn); super(tinyWRAPJNI.ProxyAudioProducer_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(ProxyAudioProducer obj) { public static long getCPtr(ProxyAudioProducer obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -25,11 +25,13 @@ public class ProxyAudioProducer extends ProxyPlugin {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_ProxyAudioProducer(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_ProxyAudioProducer(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }

View File

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39 * Version 2.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
@ -12,12 +12,12 @@ public class ProxyAudioProducerCallback {
private long swigCPtr; private long swigCPtr;
protected boolean swigCMemOwn; protected boolean swigCMemOwn;
protected ProxyAudioProducerCallback(long cPtr, boolean cMemoryOwn) { public ProxyAudioProducerCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn; swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr; swigCPtr = cPtr;
} }
protected static long getCPtr(ProxyAudioProducerCallback obj) { public static long getCPtr(ProxyAudioProducerCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr; return (obj == null) ? 0 : obj.swigCPtr;
} }
@ -26,11 +26,13 @@ public class ProxyAudioProducerCallback {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
tinyWRAPJNI.delete_ProxyAudioProducerCallback(swigCPtr); swigCMemOwn = false;
tinyWRAPJNI.delete_ProxyAudioProducerCallback(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
protected void swigDirectorDisconnect() { protected void swigDirectorDisconnect() {

Some files were not shown because too many files have changed in this diff Show More