diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac index 0ab9f41010..12f53624d0 100644 --- a/legacy/elementary/configure.ac +++ b/legacy/elementary/configure.ac @@ -240,6 +240,8 @@ PKG_CHECK_MODULES([ELEMENTARY], ] ) +EFL_ENABLE_EO_API_SUPPORT + requirement_elm="edje >= 1.7.99 ecore-file >= 1.7.99 ecore-evas >= 1.7.99 ecore >= 1.7.99 evas >= 1.7.99 eet >= 1.7.99 eina >= 1.7.99 ${requirement_elm}" PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF], diff --git a/legacy/elementary/m4/efl_eo.m4 b/legacy/elementary/m4/efl_eo.m4 new file mode 100644 index 0000000000..864baf5fc1 --- /dev/null +++ b/legacy/elementary/m4/efl_eo.m4 @@ -0,0 +1,6 @@ +dnl use: EFL_ENABLE_EO_API_SUPPORT +AC_DEFUN([EFL_ENABLE_EO_API_SUPPORT], +[ + AC_DEFINE([EFL_EO_API_SUPPORT], [1], [Enable access to unstable EFL Eo API]) +]) + diff --git a/legacy/elementary/src/lib/elm_photocam.h b/legacy/elementary/src/lib/elm_photocam.h index cdfc46bc63..18b6cec784 100644 --- a/legacy/elementary/src/lib/elm_photocam.h +++ b/legacy/elementary/src/lib/elm_photocam.h @@ -56,6 +56,18 @@ * @{ */ +/** + * @brief Types of zoom available. + */ +typedef enum +{ + ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */ + ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */ + ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */ + ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Zoom in until photo fits in photocam */ + ELM_PHOTOCAM_ZOOM_MODE_LAST +} Elm_Photocam_Zoom_Mode; + #ifdef EFL_EO_API_SUPPORT #include "elm_photocam_eo.h" #endif diff --git a/legacy/elementary/src/lib/elm_photocam_eo.h b/legacy/elementary/src/lib/elm_photocam_eo.h index c98ab8943e..477408c99b 100644 --- a/legacy/elementary/src/lib/elm_photocam_eo.h +++ b/legacy/elementary/src/lib/elm_photocam_eo.h @@ -2,18 +2,6 @@ const Eo_Class *elm_obj_photocam_pan_class_get(void) EINA_CONST; -/** - * @brief Types of zoom available. - */ -typedef enum -{ - ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */ - ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */ - ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */ - ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Zoom in until photo fits in photocam */ - ELM_PHOTOCAM_ZOOM_MODE_LAST -} Elm_Photocam_Zoom_Mode; - #define ELM_OBJ_PHOTOCAM_CLASS elm_obj_photocam_class_get() const Eo_Class *elm_obj_photocam_class_get(void) EINA_CONST;