提交 34f5994a authored 作者: Brian West's avatar Brian West

swigall

上级 b51e988e
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class API { ...@@ -26,11 +26,13 @@ public class API {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_API(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_API(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public API(CoreSession s) { public API(CoreSession s) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class CoreSession { ...@@ -26,11 +26,13 @@ public class CoreSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_CoreSession(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_CoreSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public void setSession(SWIGTYPE_p_switch_core_session_t value) { public void setSession(SWIGTYPE_p_switch_core_session_t value) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class DTMF { ...@@ -26,11 +26,13 @@ public class DTMF {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_DTMF(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_DTMF(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public void setDigit(char value) { public void setDigit(char value) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class Event { ...@@ -26,11 +26,13 @@ public class Event {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_Event(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_Event(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public void setEvent(SWIGTYPE_p_switch_event_t value) { public void setEvent(SWIGTYPE_p_switch_event_t value) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class EventConsumer { ...@@ -26,11 +26,13 @@ public class EventConsumer {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_EventConsumer(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_EventConsumer(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public void setEvents(SWIGTYPE_p_switch_queue_t value) { public void setEvents(SWIGTYPE_p_switch_queue_t value) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class IVRMenu { ...@@ -26,11 +26,13 @@ public class IVRMenu {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_IVRMenu(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_IVRMenu(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public IVRMenu(IVRMenu main, String name, String greeting_sound, String short_greeting_sound, String invalid_sound, String exit_sound, String transfer_sound, String confirm_macro, String confirm_key, String tts_engine, String tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) { public IVRMenu(IVRMenu main, String name, String greeting_sound, String short_greeting_sound, String invalid_sound, String exit_sound, String transfer_sound, String confirm_macro, String confirm_key, String tts_engine, String tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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,7 +12,7 @@ public class JavaSession extends CoreSession { ...@@ -12,7 +12,7 @@ public class JavaSession extends CoreSession {
private long swigCPtr; private long swigCPtr;
protected JavaSession(long cPtr, boolean cMemoryOwn) { protected JavaSession(long cPtr, boolean cMemoryOwn) {
super(freeswitchJNI.SWIGJavaSessionUpcast(cPtr), cMemoryOwn); super(freeswitchJNI.JavaSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr; swigCPtr = cPtr;
} }
...@@ -25,11 +25,13 @@ public class JavaSession extends CoreSession { ...@@ -25,11 +25,13 @@ public class JavaSession extends CoreSession {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_JavaSession(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_JavaSession(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
super.delete(); super.delete();
} }
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class Stream { ...@@ -26,11 +26,13 @@ public class Stream {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_Stream(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_Stream(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public Stream() { public Stream() {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package org.freeswitch.swig; package org.freeswitch.swig;
class freeswitchJNI { public class freeswitchJNI {
public final static native void setGlobalVariable(String jarg1, String jarg2); public final static native void setGlobalVariable(String jarg1, String jarg2);
public final static native String getGlobalVariable(String jarg1); public final static native String getGlobalVariable(String jarg1);
public final static native void consoleLog(String jarg1, String jarg2); public final static native void consoleLog(String jarg1, String jarg2);
...@@ -183,5 +183,5 @@ class freeswitchJNI { ...@@ -183,5 +183,5 @@ class freeswitchJNI {
public final static native void JavaSession_check_hangup_hook(long jarg1, JavaSession jarg1_); public final static native void JavaSession_check_hangup_hook(long jarg1, JavaSession jarg1_);
public final static native long JavaSession_run_dtmf_callback(long jarg1, JavaSession jarg1_, long jarg2, long jarg3); public final static native long JavaSession_run_dtmf_callback(long jarg1, JavaSession jarg1_, long jarg2, long jarg3);
public final static native int JavaSession_originate(long jarg1, JavaSession jarg1_, long jarg2, JavaSession jarg2_, String jarg3, int jarg4); public final static native int JavaSession_originate(long jarg1, JavaSession jarg1_, long jarg2, JavaSession jarg2_, String jarg3, int jarg4);
public final static native long SWIGJavaSessionUpcast(long jarg1); public final static native long JavaSession_SWIGUpcast(long jarg1);
} }
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
...@@ -26,11 +26,13 @@ public class input_callback_state_t { ...@@ -26,11 +26,13 @@ public class input_callback_state_t {
} }
public synchronized void delete() { public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) { if (swigCPtr != 0) {
swigCMemOwn = false; if (swigCMemOwn) {
freeswitchJNI.delete_input_callback_state_t(swigCPtr); swigCMemOwn = false;
freeswitchJNI.delete_input_callback_state_t(swigCPtr);
}
swigCPtr = 0;
} }
swigCPtr = 0;
} }
public void setFunction(SWIGTYPE_p_void value) { public void setFunction(SWIGTYPE_p_void value) {
......
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* 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.35 * Version 2.0.12
* *
* 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.
......
# 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.35 # Version 2.0.12
# #
# Don't modify this file, modify the SWIG interface instead. # Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
package freeswitch; package freeswitch;
require Exporter; use base qw(Exporter);
@ISA = qw(Exporter); package freeswitchc;
package freeswitchc; package freeswitchc;
boot_freeswitch(); boot_freeswitch();
package freeswitch; package freeswitch;
@EXPORT = qw( ); @EXPORT = qw();
# ---------- BASE METHODS ------------- # ---------- BASE METHODS -------------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论