Welcome Ethumb, it's ready to get out of PROTO.
[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 struct _Ethumb_Frame
7 {
8    const char *file;
9    const char *group;
10    const char *swallow;
11    Evas_Object *edje;
12 };
13
14 struct _Ethumb
15 {
16    const char *thumb_dir;
17    const char *category;
18    int tw, th;
19    int format;
20    int aspect;
21    float crop_x, crop_y;
22    int quality;
23    int compress;
24    const char *src_path;
25    const char *src_key;
26    const char *thumb_path;
27    const char *thumb_key;
28    int rw, rh;
29    struct
30      {
31         double start, time, interval;
32         int ntimes, fps;
33      } video;
34    struct
35      {
36         int page;
37      } document;
38    Ethumb_Frame *frame;
39    Ecore_Evas *ee, *sub_ee;
40    Evas *e, *sub_e;
41    Evas_Object *o, *img;
42    Ecore_Idler *finished_idler;
43    Ethumb_Generate_Cb finished_cb;
44    void *cb_data;
45    Eina_Free_Cb cb_data_free;
46    int cb_result;
47 };
48
49 #endif /* __ETHUMB_PRIVATE_H__ */