Source/WebKit/efl/ewk/ewk_view.cpp
Eina_Bool ewk_view_setting_encoding_detector_set(Evas_Object* o, Eina_Bool enable)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv, EINA_FALSE);
    enable = !!enable;
    if (priv->settings.encoding_detector != enable) {
        priv->page_settings->setUsesEncodingDetector(enable);
        priv->settings.encoding_detector = enable;
    }
    return EINA_TRUE;
}
/**
 * Sets the encoding detector.
 *
 * @param o view object to set if encoding detector is enabled.
 * @return @c EINA_TRUE on success and @c EINA_FALSE on failure
 */
Sets the encoding detector.
@param o view object to set if encoding detector is enabled.
@return @c EINA_TRUE on success and @c EINA_FALSE on failure
Sets the encoding detector . @param o view object to set if encoding detector is enabled . @return @c EINA_TRUE on success and @c EINA_FALSE on failure
Eina_Bool ewk_view_setting_encoding_detector_set(Evas_Object* o, Eina_Bool enable)
{
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv, EINA_FALSE);
    enable = !!enable;
    if (priv->settings.encoding_detector != enable) {
        priv->page_settings->setUsesEncodingDetector(enable);
        priv->settings.encoding_detector = enable;
    }
    return EINA_TRUE;
}
Eina_Bool ewk_view_setting_encoding_detector_set ( Evas_Object * o , Eina_Bool enable ) { EWK_VIEW_SD_GET_OR_RETURN ( o , sd , EINA_FALSE ) ; EWK_VIEW_PRIV_GET_OR_RETURN ( sd , priv , EINA_FALSE ) ; enable = ! ! enable ; if ( priv -> settings . encoding_detector != enable ) { priv -> page_settings -> setUsesEncodingDetector ( enable ) ; priv -> settings . encoding_detector = enable ; } return EINA_TRUE ; }
Sets the encoding detector.
Sets the encoding detector .