aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_slideshow_common.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-23 12:56:14 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-23 13:24:41 -0700
commitc2a1c49ab2042f559b28e840e54feb8494888e0e (patch)
treec6eb110b7c479499854eede9d0c3ab0a80c9a11a /src/lib/elementary/elm_slideshow_common.h
parentMerge elementary into the EFL. (diff)
downloadefl-c2a1c49ab2042f559b28e840e54feb8494888e0e.tar.gz
elementary: move all legacy files to their expected new location.
Diffstat (limited to 'src/lib/elementary/elm_slideshow_common.h')
-rw-r--r--src/lib/elementary/elm_slideshow_common.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_slideshow_common.h b/src/lib/elementary/elm_slideshow_common.h
new file mode 100644
index 0000000000..baecd5b4ec
--- /dev/null
+++ b/src/lib/elementary/elm_slideshow_common.h
@@ -0,0 +1,36 @@
+/**
+ * @addtogroup Elm_Slideshow
+ *
+ * @{
+ */
+
+typedef Evas_Object *(*SlideshowItemGetFunc)(void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
+typedef void (*SlideshowItemDelFunc)(void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
+
+/**
+ * Slideshow item class definition struct
+ */
+typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
+
+/**
+ * Class functions for slideshow item classes.
+ */
+typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
+/**
+ * @struct _Elm_Slideshow_Item_Class
+ *
+ * Slideshow item class definition. See @ref Slideshow_Items for
+ * field details.
+ */
+struct _Elm_Slideshow_Item_Class
+{
+ struct _Elm_Slideshow_Item_Class_Func
+ {
+ SlideshowItemGetFunc get;
+ SlideshowItemDelFunc del;
+ } func;
+}; /**< member definitions of #Elm_Slideshow_Item_Class */
+
+/**
+ * @}
+ */