mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-07 04:41:53 +00:00
swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3289 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1,37 +1,25 @@
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# This file was created automatically by SWIG.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
# This file is compatible with both classic and new-style classes.
|
||||
|
||||
import _freeswitch
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
|
||||
def _swig_setattr(self,class_type,name,value):
|
||||
if (name == "this"):
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
|
||||
def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
self.__dict__[name] = value
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -42,31 +30,56 @@ except AttributeError:
|
||||
del types
|
||||
|
||||
|
||||
|
||||
fs_core_set_globals = _freeswitch.fs_core_set_globals
|
||||
|
||||
fs_core_init = _freeswitch.fs_core_init
|
||||
|
||||
fs_core_destroy = _freeswitch.fs_core_destroy
|
||||
|
||||
fs_loadable_module_init = _freeswitch.fs_loadable_module_init
|
||||
|
||||
fs_loadable_module_shutdown = _freeswitch.fs_loadable_module_shutdown
|
||||
|
||||
fs_console_loop = _freeswitch.fs_console_loop
|
||||
|
||||
fs_consol_log = _freeswitch.fs_consol_log
|
||||
|
||||
fs_consol_clean = _freeswitch.fs_consol_clean
|
||||
|
||||
fs_core_session_locate = _freeswitch.fs_core_session_locate
|
||||
|
||||
fs_channel_answer = _freeswitch.fs_channel_answer
|
||||
|
||||
fs_channel_pre_answer = _freeswitch.fs_channel_pre_answer
|
||||
|
||||
fs_channel_hangup = _freeswitch.fs_channel_hangup
|
||||
|
||||
fs_channel_set_variable = _freeswitch.fs_channel_set_variable
|
||||
|
||||
fs_channel_get_variable = _freeswitch.fs_channel_get_variable
|
||||
|
||||
fs_channel_set_state = _freeswitch.fs_channel_set_state
|
||||
|
||||
fs_ivr_play_file = _freeswitch.fs_ivr_play_file
|
||||
|
||||
fs_switch_ivr_record_file = _freeswitch.fs_switch_ivr_record_file
|
||||
|
||||
fs_switch_ivr_sleep = _freeswitch.fs_switch_ivr_sleep
|
||||
|
||||
fs_ivr_play_file2 = _freeswitch.fs_ivr_play_file2
|
||||
|
||||
fs_switch_ivr_collect_digits_callback = _freeswitch.fs_switch_ivr_collect_digits_callback
|
||||
|
||||
fs_switch_ivr_collect_digits_count = _freeswitch.fs_switch_ivr_collect_digits_count
|
||||
|
||||
fs_switch_ivr_originate = _freeswitch.fs_switch_ivr_originate
|
||||
|
||||
fs_switch_ivr_session_transfer = _freeswitch.fs_switch_ivr_session_transfer
|
||||
|
||||
fs_switch_ivr_speak_text = _freeswitch.fs_switch_ivr_speak_text
|
||||
|
||||
fs_switch_channel_get_variable = _freeswitch.fs_switch_channel_get_variable
|
||||
|
||||
fs_switch_channel_set_variable = _freeswitch.fs_switch_channel_set_variable
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user