sclint integer_value = 0;
std::string string_value;
+ /* keypad mode */
integer_value = KEYPAD_MODE_QTY;
preference_get_int(ISE_CONFIG_KEYPAD_MODE, &integer_value);
g_config_values.keypad_mode = static_cast<KEYPAD_MODE>(integer_value);
+ /* prediction */
integer_value = 0;
preference_get_int(ISE_CONFIG_PREDICTION_ON, &integer_value);
g_config_values.prediction_on = integer_value;
+ /* enabled languages */
string_value = "";
read_ise_config_string(ISE_CONFIG_ENABLED_LANGUAGES, string_value);
if (string_value.length() > 0) {
g_config_values.enabled_languages = vstrings;
}
+ /* Selected languages */
string_value = "";
read_ise_config_string(ISE_CONFIG_SELECTED_LANGUAGE, string_value);
if (string_value.length() > 0) {
g_config_values.selected_language = string_value;
}
+ /* Auto capital */
integer_value = 1;
preference_get_int(ISE_CONFIG_AUTO_CAPITALISE, &integer_value);
g_config_values.auto_capitalise = integer_value;
+ /* auto punctuation */
integer_value = AUTOPUNCTUATE_ON;
preference_get_int(ISE_CONFIG_AUTO_PUNCTUATE, &integer_value);
g_config_values.auto_punctuate = integer_value;
+ /* Sound */
integer_value = SOUND_ON;
preference_get_int(ISE_CONFIG_SOUND_ON, &integer_value);
g_config_values.sound_on = integer_value;
+ /* Vibration */
integer_value = VIBRATION_ON;
preference_get_int(ISE_CONFIG_VIBRATION_ON, &integer_value);
g_config_values.vibration_on = integer_value;
+ /* character preview */
integer_value = PREVIEW_ON;
preference_get_int(ISE_CONFIG_PREVIEW_ON, &integer_value);
g_config_values.preview_on = integer_value;
+ /* guide popup for setting */
integer_value = 0;
preference_get_int(ISE_CONFIG_FIRST_GUIDELINE_POPUP_FOR_SETTING, &integer_value);
g_config_values.first_guideset = integer_value;
+ /* guide popup for language change */
integer_value = 0;
preference_get_int(ISE_CONFIG_FIRST_GUIDELINE_POPUP_FOR_LANGUAGE_CHANGE, &integer_value);
g_config_values.first_guidechange = integer_value;