Changeset 80352 in webkit
- Timestamp:
- Mar 4, 2011 7:59:04 AM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r80299 r80352 1 2011-03-04 Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 3 Reviewed by Kent Tamura. 4 5 [EFL] Doxygen documentation for ewk_settings 6 https://bugs.webkit.org/show_bug.cgi?id=55667 7 8 * ewk/ewk_settings.cpp: 9 (ewk_settings_default_user_agent_get): only style is fixed 10 * ewk/ewk_settings.h: 11 1 12 2011-03-03 Brady Eidson <beidson@apple.com> 2 13 -
trunk/Source/WebKit/efl/ewk/ewk_settings.cpp
r80299 r80352 81 81 * 82 82 * @return the current default database quota in bytes 83 * */83 */ 84 84 uint64_t ewk_settings_web_database_default_quota_get() 85 85 { … … 91 91 * Database databases. 92 92 * 93 * @path: the new database directory path 94 * 93 * @param path the new database directory path 95 94 */ 96 95 void ewk_settings_web_database_path_set(const char *path) … … 108 107 109 108 /** 110 * Return directory path where web database is stored.111 * 112 * @return database path or NULL if none or web database is not supported.113 * This is guaranteed to be eina_stringshare, so whenever possible114 * save yourself some cpu cycles and use115 * eina_stringshare_ref() instead of eina_stringshare_add() or116 * strdup().109 * Returns directory path where web database is stored. 110 * 111 * This is guaranteed to be eina_stringshare, so whenever possible 112 * save yourself some cpu cycles and use eina_stringshare_ref() 113 * instead of eina_stringshare_add() or strdup(). 114 * 115 * @return database path or @c 0 if none or web database is not supported 117 116 */ 118 117 const char *ewk_settings_web_database_path_get() … … 126 125 127 126 /** 128 * Sets directory where to store icon database, opening database.127 * Sets directory where to store icon database, opening or closing database. 129 128 * 130 129 * @param directory where to store icon database, must be 131 * write-able . If @c NULL is given, then database is closed.132 * 133 * @return @c EINA_TRUE on success, @c EINA_FALSE on errors .130 * write-able, if @c 0 is given, then database is closed 131 * 132 * @return @c EINA_TRUE on success, @c EINA_FALSE on errors 134 133 */ 135 134 Eina_Bool ewk_settings_icon_database_path_set(const char *directory) … … 174 173 175 174 /** 176 * Return directory path where icon database is stored.177 * 178 * @return database path or @c NULL if none is set or database is closed.179 * This is guaranteed to be eina_stringshare, so whenever possible180 * save yourself some cpu cycles and use181 * eina_stringshare_ref() instead of eina_stringshare_add() or182 * strdup().175 * Returns directory path where icon database is stored. 176 * 177 * This is guaranteed to be eina_stringshare, so whenever possible 178 * save yourself some cpu cycles and use eina_stringshare_ref() 179 * instead of eina_stringshare_add() or strdup(). 180 * 181 * @return database path or @c 0 if none is set or database is closed 183 182 */ 184 183 const char* ewk_settings_icon_database_path_get(void) … … 193 192 194 193 /** 195 * Remove all known icons from database.194 * Removes all known icons from database. 196 195 * 197 196 * Database must be opened with ewk_settings_icon_database_path_set() … … 213 212 214 213 /** 215 * Quer yicon for given URL, returning associated cairo surface.216 * 217 * @note in order to have this working, one must open icon database214 * Queries icon for given URL, returning associated cairo surface. 215 * 216 * @note In order to have this working, one must open icon database 218 217 * with ewk_settings_icon_database_path_set(). 219 218 * 220 * @param url which url to query icon .221 * 222 * @return cairo surface if any, or NULL on failure.219 * @param url which url to query icon 220 * 221 * @return cairo surface if any, or @c 0 on failure 223 222 */ 224 223 cairo_surface_t* ewk_settings_icon_database_icon_surface_get(const char *url) … … 238 237 239 238 /** 240 * Create Evas_Object of type image representing the given URL.239 * Creates Evas_Object of type image representing the given URL. 241 240 * 242 241 * This is an utility function that creates an Evas_Object of type … … 244 243 * (evas_object_image_filled_add()), saving some code to use it from Evas. 245 244 * 246 * @note in order to have this working, one must open icon database245 * @note In order to have this working, one must open icon database 247 246 * with ewk_settings_icon_database_path_set(). 248 247 * 249 * @param url which url to query icon .250 * @param canvas evas instance where to add resulting object .251 * 252 * @return newly allocated Evas_Object instance or @c NULLon248 * @param url which url to query icon 249 * @param canvas evas instance where to add resulting object 250 * 251 * @return newly allocated Evas_Object instance or @c 0 on 253 252 * errors. Delete the object with evas_object_del(). 254 253 */ … … 274 273 * Sets the given proxy URI to network backend. 275 274 * 276 * @param proxy URI .275 * @param proxy URI to set 277 276 */ 278 277 void ewk_settings_proxy_uri_set(const char* proxy) … … 300 299 * Gets the proxy URI from the network backend. 301 300 * 302 * @return current proxy URI or @c 0 if it's not set .301 * @return current proxy URI or @c 0 if it's not set 303 302 */ 304 303 const char* ewk_settings_proxy_uri_get() … … 322 321 323 322 /** 324 * @internal 325 * Gets the default user agent string. 326 * 327 * @return A pointer to an eina_stringshare containing the user agent string. 328 */ 323 * @internal 324 * 325 * Gets the default user agent string. 326 * 327 * @return a pointer to an eina_stringshare containing the user agent string 328 */ 329 329 const char* ewk_settings_default_user_agent_get() 330 330 { … … 333 333 334 334 return eina_stringshare_add(static_ua.utf8().data()); 335 } 335 } -
trunk/Source/WebKit/efl/ewk/ewk_settings.h
r77243 r80352 33 33 34 34 /** 35 * @file 35 * @file ewk_settings.h 36 36 * 37 * General purpose settings, not tied to any view object.37 * @brief General purpose settings, not tied to any view object. 38 38 */ 39 39
Note: See TracChangeset
for help on using the changeset viewer.