![]() |
libgpac
Documentation of the core library of GPAC
|
import <storage.idl;
Public Member Functions | |
| Storage (DOMString store_name) | |
| DOMString | get_option (DOMString section, DOMString key) |
| DOMString | get_option (DOMString section, unsigned key_idx) |
| void | set_option (DOMString section, DOMString key, optional DOMString value=null) |
| void | save () |
interface to storage
| Storage::Storage | ( | DOMString | store_name | ) |
creates a new storage
| store_name | storage name to use |
get storage key
| section | the section name |
| key | the key name |
get storage key name by index
| section | the section name |
| key_idx | the key index in the section |
sets storage key
| section | the section name |
| key | the key name |
| value | the key value, null to remove the key |
| void Storage::save | ( | ) |
saves associated storage