added elm_win_profiles_set API 59/57959/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 26 Jan 2016 10:10:58 +0000 (19:10 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 26 Jan 2016 10:10:58 +0000 (19:10 +0900)
Change-Id: Ia06fcfa5b9227f446536afff21b812893c1bcc1a

src/lib/elm_deprecated.h
src/lib/elm_win.c

index 2ad95a9..cc35c12 100644 (file)
@@ -1,3 +1,19 @@
+/**
+ * @brief Sets the profile list of a window.
+ *
+ * @if MOBILE @since_tizen 2.3
+ * @elseif WEARABLE @since_tizen 2.3.1
+ * @endif
+ *
+ * @param[in] obj The window object
+ * @param[in] profiles The list of profile names
+ * @param[in] num_profiles The number of profile names
+ *
+ * @ingroup Win
+ *
+ * @deprecated Deprecated since Tizen 2.4
+ */
+EAPI void         elm_win_profiles_set(Evas_Object *obj, const char **profiles, unsigned int num_profiles);
 
 EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
 EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
index d07b363..44afe2c 100644 (file)
@@ -5958,4 +5958,13 @@ elm_win_aux_hint_id_get(Evas_Object *obj, const char *hint)
    ELM_WIN_DATA_GET_OR_RETURN_VAL(obj, sd, EINA_FALSE);
    return ecore_evas_aux_hint_id_get(sd->ee, hint);
 }
+
+EAPI void
+elm_win_profiles_set(Evas_Object *obj, const char **profiles, unsigned int num_profiles)
+{
+   ELM_WIN_CHECK(obj);
+   ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
+
+   _elm_win_available_profiles_set(obj, sd, profiles, num_profiles);
+}
 //////////////////////////////////////////////////////////////////