tinyWRAP.i 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* File : tinyWRAP.i */
  2. %module(directors="1") tinyWRAP
  3. %include "typemaps.i"
  4. %include <stdint.i>
  5. %{
  6. #include "tinyWRAP_config.h"
  7. #include "DDebug.h"
  8. #include "AudioResampler.h"
  9. %}
  10. %feature("director") DDebugCallback;
  11. %nodefaultctor;
  12. %include "tinyWRAP_config.h"
  13. %include "DDebug.h"
  14. %include "AudioResampler.h"
  15. %include "Common.h"
  16. %clearnodefaultctor;
  17. /* ========== Sip/Sdp Stack ========== */
  18. %newobject getSipHeaderValue;
  19. %newobject getSdpHeaderValue;
  20. %newobject getSdpHeaderAValue;
  21. %newobject getSipHeaderParamValue;
  22. %newobject SipStack::dnsENUM;
  23. %newobject SipStack::dnsNaptrSrv;
  24. %newobject SipStack::dnsSrv;
  25. %newobject SipStack::getPreferredIdentity;
  26. %newobject SipStack::getLocalIPnPort;
  27. %newobject MediaSessionMgr::producerGetCodec;
  28. %newobject MediaSessionMgr::sessionGetQoS;
  29. %newobject MessagingEvent::takeSessionOwnership;
  30. %newobject InviteEvent::takeCallSessionOwnership;
  31. %newobject InviteEvent::takeMsrpSessionOwnership;
  32. %newobject RegistrationEvent::takeSessionOwnership;
  33. %newobject ProxyPluginMgr::createInstance;
  34. %newobject MediaContent::parse;
  35. %include SipStack.i
  36. /* ========== Xcap Stack ========== */
  37. %newobject XcapSelector::getString;
  38. %newobject getXcapHeaderValue;
  39. %newobject getXcapHeaderParamValue;
  40. %include Xcap.i
  41. /* ========== SMS ========== */
  42. %newobject SMSEncoder::encodeSubmit;
  43. %newobject SMSEncoder::encodeDeliver;
  44. %newobject SMSEncoder::encodeACK;
  45. %newobject SMSEncoder::encodeError;
  46. %newobject SMSEncoder::decode;
  47. %include SMS.i
  48. /* ========== MSRP ========== */
  49. %newobject getMsrpHeaderValue;
  50. %newobject getMsrpHeaderParamValue;
  51. %include Msrp.i