summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_slideshow_common.h
blob: baecd5b4ecf559f050a9bcd18c1efec927a30018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 */

/**
 * @}
 */