Ethumb: make distcheck fixes
[framework/uifw/ethumb.git] / src / lib / ethumb_private.h
1 #ifndef __ETHUMB_PRIVATE_H__
2 #define __ETHUMB_PRIVATE_H__ 1
3
4 #include <Ethumb.h>
5
6 typedef struct _Ethumb_Frame Ethumb_Frame;
7
8 struct _Ethumb_Frame
9 {
10    const char *file;
11    const char *group;
12    const char *swallow;
13    Evas_Object *edje;
14 };
15
16 struct _Ethumb
17 {
18    const char *thumb_dir;
19    const char *category;
20    int tw, th;
21    int format;
22    int aspect;
23    float crop_x, crop_y;
24    int quality;
25    int compress;
26    const char *src_path;
27    const char *src_key;
28    const char *thumb_path;
29    const char *thumb_key;
30    int rw, rh;
31    struct
32      {
33         double start, time, interval;
34         unsigned int ntimes, fps;
35      } video;
36    struct
37      {
38         unsigned int page;
39      } document;
40    Ethumb_Frame *frame;
41    Ecore_Evas *ee, *sub_ee;
42    Evas *e, *sub_e;
43    Evas_Object *o, *img;
44    Ecore_Idler *finished_idler;
45    Ethumb_Generate_Cb finished_cb;
46    void *cb_data;
47    Eina_Free_Cb cb_data_free;
48    int cb_result;
49 };
50
51 #endif /* __ETHUMB_PRIVATE_H__ */