aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_photocam.h
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/src/lib/elm_photocam.h')
-rw-r--r--legacy/elementary/src/lib/elm_photocam.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_photocam.h b/legacy/elementary/src/lib/elm_photocam.h
index 18b6cec784..d6b7c98b9c 100644
--- a/legacy/elementary/src/lib/elm_photocam.h
+++ b/legacy/elementary/src/lib/elm_photocam.h
@@ -68,6 +68,31 @@ typedef enum
ELM_PHOTOCAM_ZOOM_MODE_LAST
} Elm_Photocam_Zoom_Mode;
+/**
+ * Structure associated with smart callback 'download,progress'.
+ * @since 1.8
+ */
+typedef struct _Elm_Photocam_Progress Elm_Photocam_Progress;
+
+struct _Elm_Photocam_Progress
+{
+ double now;
+ double total;
+};
+
+
+/**
+ * Structre associated with smart callback 'download,error'
+ * @since 1.8
+ */
+typedef struct _Elm_Photocam_Error Elm_Photocam_Error;
+struct _Elm_Photocam_Error
+{
+ int status;
+
+ Eina_Bool open_error;
+};
+
#ifdef EFL_EO_API_SUPPORT
#include "elm_photocam_eo.h"
#endif