![]() |
Lua Player Plus Vita
Documentation of lpp-vita
|
Module that handles system registry. More...
Enumerations | |
| enum | RegType { TYPE_STRING , TYPE_NUMBER , TYPE_BINARY } |
| Registry types. More... | |
Functions | |
| auto | Registry::getKey (string category, string name, RegType type) |
| Get a value for a given key. | |
| auto | Registry::getSysKey (int id, RegType type) |
| Get a value for a given system key. | |
| void | Registry::setKey (string category, string name, RegType type, auto value, int size) |
| Set a value for a given key. | |
Module that handles system registry.
| enum RegType |
Registry types.
| Enumerator | |
|---|---|
| TYPE_STRING | String type. |
| TYPE_NUMBER | Integer type. |
| TYPE_BINARY | Binary Type. |
| auto Registry::getKey | ( | string | category, |
| string | name, | ||
| RegType | type | ||
| ) |
Get a value for a given key.
| category | - The category from which to take the value. |
| name | - The key related to the value. |
| type | - The type of the value. |
| auto Registry::getSysKey | ( | int | id, |
| RegType | type | ||
| ) |
Get a value for a given system key.
| id | - The identifier of the key. |
| type | - The type of the value. |
| void Registry::setKey | ( | string | category, |
| string | name, | ||
| RegType | type, | ||
| auto | value, | ||
| int | size | ||
| ) |
Set a value for a given key.
| category | - The category from which to take the value. |
| name | - The key related to the value. |
| type | - The type of the value. |
| value | - The value to set. |
| size | - The size of the value (optional). |