Ignore:
Timestamp:
Oct 25, 2013 10:34:38 AM (11 years ago)
Author:
bennylp
Message:

Re #1519: Implementation of Account API, with inheritance approach:

  • With small demo app (samples/pjsua2_demo.cpp)
  • Endpoint changed to use inheritance approach too
  • Simple account registration demo and callback works
  • Further tests will be done in high level app (Python GUI?)
  • Temporary build setting fixes (Makefile) to allow linking with pjsua2 and libstdc++
  • Temporary hacks in Makefile to ignore other build targets to speed up build. This should be fixed during integration.

Issues:

  • incomplete Endpoint::on_incoming_subscribe() implementation. There is no Account::presNotify() yet.
  • incomplete Endpoint::on_pager2(), on_pager_status2(), to handle call's pager rather than account's pager
  • some SWIGTYPE (unknown type by Swig) still unresolved
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/pjsua2.i

    r4608 r4638  
    1010// 
    1111%{ 
    12 #include "pjsua2/endpoint.hpp" 
     12#include "pjsua2.hpp" 
    1313using namespace std; 
    1414using namespace pj; 
     
    167167%rename("%s", regexmatch$name="PJSUA_CALL_HOLD_TYPE_.*") "";// Unignore this 
    168168%rename("%s") pjsua_acc_id;                             // Unignore this 
     169%rename("%s") pjsua_destroy_flag;                       // Unignore this 
     170%rename("%s", regexmatch$name="PJSUA_DESTROY_.*") "";   // Unignore this 
    169171%include "pjsua-lib/pjsua.h" 
    170172 
     
    175177 
    176178// 
     179// Ignore stuffs in pjsua2 itself 
     180// 
     181%ignore fromPj; 
     182%ignore toPj; 
     183 
     184// 
    177185// Now include the API itself. 
    178186// 
    179187%include "pjsua2/types.hpp" 
    180188%include "pjsua2/endpoint.hpp" 
     189#include "pjsua2/account.hpp" 
    181190 
Note: See TracChangeset for help on using the changeset viewer.