doubango/bindings/_common/tinyWRAP.i
c732d49e
 /* File : tinyWRAP.i */
 %module(directors="1") tinyWRAP
 %include "typemaps.i"
 %include <stdint.i>
 
 %{
 #include "tinyWRAP_config.h"
 #include "DDebug.h"
 #include "DRegisterCallback.h"
 #include "AudioResampler.h"
 %}
 
 %feature("director") DDebugCallback;
175b478c
 //
c732d49e
 %feature("director") DRegisterCallback;
 
 %nodefaultctor;
 %include "tinyWRAP_config.h"
 %include "DDebug.h"
175b478c
 //
c732d49e
 %include "DRegisterCallback.h"
 %include "AudioResampler.h"
 %include "Common.h"
 %clearnodefaultctor;
 
 
 
 
 
 /* ========== Sip/Sdp Stack ========== */
 %newobject getSipHeaderValue;
 %newobject getSdpHeaderValue;
 %newobject getSdpHeaderAValue;
 %newobject getSdpHeaderMPort;
 %newobject getSdpHeaderCAddr;
 %newobject getSdpHeaderCAddrType;
 %newobject getSipHeaderParamValue;
 %newobject SipStack::dnsENUM;
 %newobject SipStack::dnsNaptrSrv;
 %newobject SipStack::dnsSrv;
 %newobject SipStack::getPreferredIdentity;
 %newobject SipStack::getLocalIPnPort;
 %newobject MediaSessionMgr::producerGetCodec;
175b478c
 
c732d49e
 %newobject MessagingLocationEvent::takeSessionOwnership;
175b478c
 //MCPTT affiliation
c732d49e
 %newobject MessagingAffiliationEvent::takeSessionOwnership;
 %newobject SubscriptionAffiliationEvent::takeSessionOwnership;
 %newobject PublicationAffiliationEvent::takeSessionOwnership;
175b478c
 %newobject PublicationAuthenticationEvent::takeSessionOwnership;
c732d49e
 %newobject MessagingLocationEvent::takeSessionOwnership;
 %newobject MessagingEvent::takeSessionOwnership;
 %newobject InviteEvent::takeCallSessionOwnership;
 %newobject InviteEvent::takeMsrpSessionOwnership;
 %newobject RegistrationEvent::takeSessionOwnership;
 
 %newobject ProxyPluginMgr::createInstance;
 
 %newobject MediaContent::parse;
 
 %include SipStack.i
 
 
 /* ========== Xcap Stack ========== */
 %newobject XcapSelector::getString;
 
 %newobject getXcapHeaderValue;
 %newobject getXcapHeaderParamValue;
 
 %include Xcap.i
 
 
 /* ========== SMS ========== */
 %newobject SMSEncoder::encodeSubmit;
 %newobject SMSEncoder::encodeDeliver;
 %newobject SMSEncoder::encodeACK;
 %newobject SMSEncoder::encodeError;
 %newobject SMSEncoder::decode;
 
 %include SMS.i
 
 
 /* ========== MSRP ========== */
 %newobject getMsrpHeaderValue;
 %newobject getMsrpHeaderParamValue;
 
 %include Msrp.i
 /* ========== MCPTT ========== */
 
 %include Mcptt.i