Package Upload
[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 #include <Ethumb_Plugin.h>
6
7 typedef struct _Ethumb_Frame Ethumb_Frame;
8
9 struct _Ethumb_Frame
10 {
11    const char *file;
12    const char *group;
13    const char *swallow;
14    Evas_Object *edje;
15 };
16
17 struct _Ethumb
18 {
19    const char *thumb_dir;
20    const char *category;
21    int tw, th;
22    int format;
23    int aspect;
24    int orientation;
25    float crop_x, crop_y;
26    int quality;
27    int compress;
28    const char *src_hash;
29    const char *src_path;
30    const char *src_key;
31    const char *thumb_path;
32    const char *thumb_key;
33    int rw, rh;
34    struct
35      {
36         double start, time, interval;
37         unsigned int ntimes, fps;
38      } video;
39    struct
40      {
41         unsigned int page;
42      } document;
43    Ethumb_Frame *frame;
44    Ecore_Evas *ee, *sub_ee;
45    Evas *e, *sub_e;
46    Evas_Object *o, *img;
47    Ecore_Idler *finished_idler;
48    Ethumb_Generate_Cb finished_cb;
49    void *cb_data;
50    Eina_Free_Cb cb_data_free;
51    int cb_result;
52
53    void *pdata;
54    Ethumb_Plugin *plugin;
55 };
56
57 #endif /* __ETHUMB_PRIVATE_H__ */