Changes between Version 3 and Version 4 of pjsip-doc/intro_pjsua2
- Timestamp:
- Dec 4, 2013 3:50:04 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pjsip-doc/intro_pjsua2
v3 v4 44 44 As 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:: 45 45 46 .. code-block:: c++ 47 46 48 EpConfig epCfg; 47 49 JsonDocument jDoc; … … 52 54 53 55 To load from the file:: 56 57 .. code-block:: c++ 54 58 55 59 EpConfig epCfg;