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

swigall

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