- Update binaries: Add lgpl and commercial build types

- Fix issues
This commit is contained in:
bossiel 2011-06-02 15:15:24 +00:00
parent fcc5ca7d11
commit 6faba0e4f5
263 changed files with 7680 additions and 7209 deletions

View File

@ -24,14 +24,11 @@ clean:
else ##### All other libraries (tiny*) else ##### All other libraries (tiny*)
all: all:
(cd ../$(PROJECT) ; $(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR)) (cd ../$(PROJECT) ; $(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR))
test:
(cd ../$(PROJECT)/test; $(MAKE) -f droid-makefile all; cp -f test $(OUTPUT_DIR))
install: install:
(cd ../$(PROJECT) ; $(MAKE) -f droid-makefile install) (cd ../$(PROJECT) ; $(MAKE) -f droid-makefile install)
clean: clean:
(cd ../$(PROJECT); $(MAKE) -f droid-makefile clean) (cd ../$(PROJECT); $(MAKE) -f droid-makefile clean)
(cd ../$(PROJECT)/test; $(MAKE) -f droid-makefile clean)
endif endif

View File

@ -18,13 +18,36 @@ export EXEC_DIR=/data/tmp
# Path where to copy libraries (*.so) -on the device or emulator- # Path where to copy libraries (*.so) -on the device or emulator-
export LIB_DIR=/system/lib export LIB_DIR=/system/lib
# Test the NDK directory structure
export ANDROID_NDK_BASE=$(shell if [ -r $(ANDROID_NDK_ROOT)/build/platforms ] ; then \
echo $(ANDROID_NDK_ROOT)/build/platforms ; \
elif [ -r $(ANDROID_NDK_ROOT)/platforms ] ; then \
echo $(ANDROID_NDK_ROOT)/platforms ; \
else \
echo "Err_Unable_to_recognize_the_NDK_structure_for_ANDROID_NDK_BASE" ; \
fi)
export ANDROID_NDK_TOOL_BASE=$(shell if [ -r $(ANDROID_NDK_ROOT)/build/prebuilt/$(ANDROID_HOST)/arm-eabi-$(ANDROID_GCC_VER) ] ; then \
echo $(ANDROID_NDK_ROOT)/build/prebuilt/$(ANDROID_HOST)/arm-eabi-$(ANDROID_GCC_VER) ; \
elif [ -r $(ANDROID_NDK_ROOT)/toolchains/arm-eabi-$(ANDROID_GCC_VER)/prebuilt/$(ANDROID_HOST) ] ; then \
echo $(ANDROID_NDK_ROOT)/toolchains/arm-eabi-$(ANDROID_GCC_VER)/prebuilt/$(ANDROID_HOST) ; \
else \
echo "Err_Unable_to_recognize_the_NDK_structure_for_ANDROID_NDK_TOOL_BASE" ; \
fi)
################################################################################## ##################################################################################
export AR=arm-eabi-ar export AR=arm-eabi-ar
export CC=arm-eabi-gcc-$(ANDROID_GCC_VER) export CC=arm-eabi-gcc-$(ANDROID_GCC_VER)
export CPP=arm-eabi-g++ export CPP=arm-eabi-g++
export CFLAGS_COMMON=$(CFLAGS) $(DEBUG_FLAGS) -I$(ANDROID_NDK_ROOT)/build/platforms/$(ANDROID_PLATFORM)/arch-arm/usr/include \
ifeq ($(LICENSE),)
export LICENSE=gpl
endif
export CFLAGS_COMMON=$(CFLAGS) $(DEBUG_FLAGS) -I$(ANDROID_NDK_BASE)/$(ANDROID_PLATFORM)/arch-arm/usr/include \
-msoft-float \ -msoft-float \
-fpic \ -fpic \
-mthumb-interwork \ -mthumb-interwork \
@ -57,7 +80,7 @@ export CFLAGS_LIB= $(CFLAGS_COMMON) \
-DANDROID -DANDROID
#-mthumb #-mthumb
export LDFLAGS_COMMON=$(LDFLAGS) -Wl,-rpath=/system/lib,-rpath-link=$(ANDROID_NDK_ROOT)/build/platforms/$(ANDROID_PLATFORM)/arch-arm/usr/lib,-rpath-link=$(OUTPUT_DIR),-dynamic-linker=/system/bin/linker,-T,$(ANDROID_NDK_ROOT)/build/prebuilt/$(ANDROID_HOST)/arm-eabi-$(ANDROID_GCC_VER)/arm-eabi/lib/ldscripts/armelf.xsc -L$(ANDROID_NDK_ROOT)/build/platforms/$(ANDROID_PLATFORM)/arch-arm/usr/lib export LDFLAGS_COMMON=$(LDFLAGS) -Wl,-rpath=/system/lib,-rpath-link=$(ANDROID_NDK_BASE)/$(ANDROID_PLATFORM)/arch-arm/usr/lib,-rpath-link=$(OUTPUT_DIR),-dynamic-linker=/system/bin/linker,-T,$(ANDROID_NDK_TOOL_BASE)/arm-eabi/lib/ldscripts/armelf.xsc -L$(ANDROID_NDK_BASE)/$(ANDROID_PLATFORM)/arch-arm/usr/lib
export LDFLAGS_COMMON+=-nostdlib -lc -L$(OUTPUT_DIR) export LDFLAGS_COMMON+=-nostdlib -lc -L$(OUTPUT_DIR)
ifeq ($(BT), static) ifeq ($(BT), static)

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);
} }
} }

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,17 +28,19 @@ 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();
} }
} }
public SipStack(SipCallback callback, string realm_uri, string impi_uri, string impu_uri) : this(tinyWRAPPINVOKE.new_SipStack(SipCallback.getCPtr(callback), realm_uri, impi_uri, impu_uri), true) { public SipStack(SipCallback pCallback, string realm_uri, string impi_uri, string impu_uri) : this(tinyWRAPPINVOKE.new_SipStack(SipCallback.getCPtr(pCallback), realm_uri, impi_uri, impu_uri), true) {
} }
public bool start() { public bool start() {
@ -46,8 +48,8 @@ public class SipStack : SafeObject {
return ret; return ret;
} }
public bool setDebugCallback(DDebugCallback callback) { public bool setDebugCallback(DDebugCallback pCallback) {
bool ret = tinyWRAPPINVOKE.SipStack_setDebugCallback(swigCPtr, DDebugCallback.getCPtr(callback)); bool ret = tinyWRAPPINVOKE.SipStack_setDebugCallback(swigCPtr, DDebugCallback.getCPtr(pCallback));
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();
@ -1595,71 +1599,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
@ -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) {
@ -281,9 +281,6 @@ 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
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* director.swg * director.swg
* *
* This file contains support for director classes so that C# proxy * This file contains support for director classes so that C# proxy
@ -1502,7 +1499,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_findProxyPluginConsumer(voi
arg1 = (MediaSessionMgr *)jarg1; arg1 = (MediaSessionMgr *)jarg1;
arg2 = (twrap_media_type_t)jarg2; arg2 = (twrap_media_type_t)jarg2;
result = (ProxyPlugin *)(arg1)->findProxyPluginConsumer(arg2); result = (ProxyPlugin *)((MediaSessionMgr const *)arg1)->findProxyPluginConsumer(arg2);
jresult = (void *)result; jresult = (void *)result;
return jresult; return jresult;
} }
@ -1516,7 +1513,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_findProxyPluginProducer(voi
arg1 = (MediaSessionMgr *)jarg1; arg1 = (MediaSessionMgr *)jarg1;
arg2 = (twrap_media_type_t)jarg2; arg2 = (twrap_media_type_t)jarg2;
result = (ProxyPlugin *)(arg1)->findProxyPluginProducer(arg2); result = (ProxyPlugin *)((MediaSessionMgr const *)arg1)->findProxyPluginProducer(arg2);
jresult = (void *)result; jresult = (void *)result;
return jresult; return jresult;
} }
@ -2127,7 +2124,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_InviteEvent_getMediaType(void * jarg1) {
twrap_media_type_t result; twrap_media_type_t result;
arg1 = (InviteEvent *)jarg1; arg1 = (InviteEvent *)jarg1;
result = (twrap_media_type_t)(arg1)->getMediaType(); result = (twrap_media_type_t)((InviteEvent const *)arg1)->getMediaType();
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -2587,7 +2584,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_getId(void * jarg1) {
unsigned int result; unsigned int result;
arg1 = (SipSession *)jarg1; arg1 = (SipSession *)jarg1;
result = (unsigned int)(arg1)->getId(); result = (unsigned int)((SipSession const *)arg1)->getId();
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -4370,7 +4367,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_getAutoResizeDispl
bool result; bool result;
arg1 = (ProxyVideoConsumer *)jarg1; arg1 = (ProxyVideoConsumer *)jarg1;
result = (bool)(arg1)->getAutoResizeDisplay(); result = (bool)((ProxyVideoConsumer const *)arg1)->getAutoResizeDisplay();
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -4874,7 +4871,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducer_getRotation(void * jarg1) {
int result; int result;
arg1 = (ProxyVideoProducer *)jarg1; arg1 = (ProxyVideoProducer *)jarg1;
result = (int)(arg1)->getRotation(); result = (int)((ProxyVideoProducer const *)arg1)->getRotation();
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -5818,7 +5815,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;
} }
@ -5828,7 +5825,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;
} }
@ -5838,7 +5835,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;
} }
@ -5848,7 +5845,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;
} }
@ -5858,7 +5855,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_cancelled_get()
int jresult ; int jresult ;
int result; int result;
result = (int) 801; result = (int)(801);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -5868,7 +5865,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_sent_get() {
int jresult ; int jresult ;
int result; int result;
result = (int) 802; result = (int)(802);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -5878,7 +5875,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;
} }
@ -5888,7 +5885,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;
} }
@ -5898,7 +5895,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;
} }
@ -5908,7 +5905,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;
} }
@ -5918,7 +5915,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;
} }
@ -5928,7 +5925,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;
} }
@ -5938,7 +5935,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;
} }
@ -5948,7 +5945,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;
} }
@ -7143,92 +7140,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.
@ -11,7 +11,8 @@ namespace org.doubango.tinyWRAP {
public enum tmedia_bandwidth_level_t { public enum tmedia_bandwidth_level_t {
tmedia_bl_low, tmedia_bl_low,
tmedia_bl_medium, tmedia_bl_medium,
tmedia_bl_hight tmedia_bl_hight,
tmedia_bl_unrestricted
} }
} }

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) {

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