Changes between Version 3 and Version 4 of pjsip-doc/intro_pjsua2


Ignore:
Timestamp:
Dec 4, 2013 3:50:04 AM (7 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pjsip-doc/intro_pjsua2

    v3 v4  
    4444As such, classes which inherit from PersistentObject, such as EpConfig (endpoint configuration), AccountConfig (account configuration), and BuddyConfig (buddy configuration) can be loaded/saved from/to a file. Here’s an example to save a config to a file:: 
    4545 
     46.. code-block:: c++ 
     47 
    4648    EpConfig epCfg; 
    4749    JsonDocument jDoc; 
     
    5254 
    5355To load from the file:: 
     56 
     57.. code-block:: c++ 
    5458 
    5559    EpConfig epCfg;