![]() |
BSB Developer Docs
|
Geolocation type for application settings. More...
#include <stdbool.h>Go to the source code of this file.
Data Structures | |
| struct | JsAppSettingsGeoValue |
| Geolocation value. More... | |
Macros | |
| #define | JS_APP_SETTINGS_GEO_NAME_MAX_LENGTH (128u) |
Enumerations | |
| enum | JsAppSettingsGeoMode { JsAppSettingsGeoModeAuto , JsAppSettingsGeoModeFixed , JsAppSettingsGeoModesCount } |
| Geolocation mode. More... | |
Functions | |
| bool | js_app_settings_geo_mode_parse (const char *string, JsAppSettingsGeoMode *mode) |
| Parse a geolocation mode string. | |
| const char * | js_app_settings_geo_mode_format (JsAppSettingsGeoMode mode) |
| Format a geolocation mode as a string. | |
Geolocation type for application settings.
| enum JsAppSettingsGeoMode |
| const char * js_app_settings_geo_mode_format | ( | JsAppSettingsGeoMode | mode | ) |
Format a geolocation mode as a string.
| [in] | mode | Mode. |
| bool js_app_settings_geo_mode_parse | ( | const char * | string, |
| JsAppSettingsGeoMode * | mode ) |
Parse a geolocation mode string.
| [in] | string | "auto" or "fixed". |
| [out] | mode | Parsed mode. |