From 6b8f9c11e38f53c3d16880636552d44c5e711e7a Mon Sep 17 00:00:00 2001 From: xhell Date: Wed, 7 Mar 2012 10:04:54 +0000 Subject: [PATCH] elementary/elm_deprecated: add elm_photocam_gesture_set/get git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68919 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_deprecated.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/lib/elm_deprecated.h b/src/lib/elm_deprecated.h index 77966f2..3cd7ee9 100644 --- a/src/lib/elm_deprecated.h +++ b/src/lib/elm_deprecated.h @@ -5398,6 +5398,30 @@ EINA_DEPRECATED EAPI void elm_video_uri_set(Evas_Object *video, */ EINA_DEPRECATED EAPI void elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h); +/** + * @brief Set the gesture state for photocam. + * + * @param obj The photocam object + * @param gesture The gesture state to set + * + * This sets the gesture state to on(EINA_TRUE) or off (EINA_FALSE) for + * photocam. The default is off. This will start multi touch zooming. + * + * @deprecated Use elm_photocam_gesture_enabled_set() instead. + */ +EINA_DEPRECATED EAPI void elm_photocam_gesture_set(Evas_Object *obj, Eina_Bool gesture); + +/** + * @brief Get the gesture state for photocam. + * + * @param obj The photocam object + * @return The current gesture state + * + * This gets the current gesture state for the photocam object. + * + * @deprecated Use elm_photocam_gesture_enabled_get() instead. + */ +EINA_DEPRECATED EAPI Eina_Bool elm_photocam_gesture_get(const Evas_Object *obj); /* No documentation for these API before. * * @deprecated Use elm_route_latitude_min_max_get() -- 2.7.4