summaryrefslogtreecommitdiff
path: root/efl/elementary/map.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-10-20 23:45:47 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2013-10-20 23:45:47 +0300
commitcd25ef3488603bb88c108884c77df4a3c23105fc (patch)
tree584b88a9c332724639ce001fdc1404f3695686d3 /efl/elementary/map.pxd
parentb981ce384096ec28013a5d952e3557df64ba57c1 (diff)
Partially revert "Elementary: Move private definitions inside the pyx files."
We can do this later, let's keep api_coverage.py working for now. This reverts commit c96851c8f5c1917175f8b75b5769c9cec4cd45e3. Conflicts: efl/elementary/gengrid.pyx efl/elementary/genlist.pyx efl/elementary/object.pyx efl/elementary/scroller.pxd efl/elementary/scroller.pyx
Diffstat (limited to 'efl/elementary/map.pxd')
-rw-r--r--efl/elementary/map.pxd91
1 files changed, 91 insertions, 0 deletions
diff --git a/efl/elementary/map.pxd b/efl/elementary/map.pxd
new file mode 100644
index 0000000..778e068
--- /dev/null
+++ b/efl/elementary/map.pxd
@@ -0,0 +1,91 @@
1from efl.evas cimport Eina_Bool, Eina_List, Evas_Object, const_Evas_Object, Evas_Coord
2from enums cimport Elm_Map_Overlay_Type, Elm_Map_Route_Method, \
3 Elm_Map_Route_Type, Elm_Map_Source_Type, Elm_Map_Zoom_Mode
4from libc.string cimport const_char
5
6cdef extern from "Elementary.h":
7 ctypedef void *Elm_Map_Overlay
8 ctypedef void *Elm_Map_Route
9 ctypedef void *Elm_Map_Name
10 ctypedef void (*Elm_Map_Overlay_Get_Cb)(void *data, Evas_Object *map, Elm_Map_Overlay *overlay)
11 ctypedef void (*Elm_Map_Overlay_Del_Cb)(void *data, Evas_Object *map, Elm_Map_Overlay *overlay)
12 ctypedef void (*Elm_Map_Route_Cb)(void *data, Evas_Object *map, Elm_Map_Route *route)
13 ctypedef void (*Elm_Map_Name_Cb)(void *data, Evas_Object *map, Elm_Map_Name *name)
14
15 Evas_Object *elm_map_add(Evas_Object *parent)
16 void elm_map_zoom_set(Evas_Object *obj, int zoom)
17 int elm_map_zoom_get(const_Evas_Object *obj)
18 void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode)
19 Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const_Evas_Object *obj)
20 void elm_map_zoom_min_set(Evas_Object *obj, int zoom)
21 int elm_map_zoom_min_get(const_Evas_Object *obj)
22 void elm_map_zoom_max_set(Evas_Object *obj, int zoom)
23 int elm_map_zoom_max_get(const_Evas_Object *obj)
24 void elm_map_region_get(const_Evas_Object *obj, double *lon, double *lat)
25 void elm_map_region_bring_in(Evas_Object *obj, double lon, double lat)
26 void elm_map_region_show(Evas_Object *obj, double lon, double lat)
27 void elm_map_canvas_to_region_convert(const_Evas_Object *obj, Evas_Coord x, Evas_Coord y, double *lon, double *lat)
28 void elm_map_region_to_canvas_convert(const_Evas_Object *obj, double lon, double lat, Evas_Coord *x, Evas_Coord *y)
29 void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused)
30 Eina_Bool elm_map_paused_get(const_Evas_Object *obj)
31 void elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy)
32 void elm_map_rotate_get(const_Evas_Object *obj, double *degree, Evas_Coord *cx, Evas_Coord *cy)
33 void elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
34 Eina_Bool elm_map_wheel_disabled_get(const_Evas_Object *obj)
35 void elm_map_user_agent_set(Evas_Object *obj, char *user_agent)
36 char *elm_map_user_agent_get(const_Evas_Object *obj)
37 Eina_List *elm_map_overlays_get(Evas_Object *obj)
38 Elm_Map_Overlay *elm_map_overlay_add(Evas_Object *obj, double lon, double lat)
39 void elm_map_overlay_del(Elm_Map_Overlay *overlay)
40 Elm_Map_Overlay_Type elm_map_overlay_type_get(Elm_Map_Overlay *overlay)
41 void elm_map_overlay_data_set(Elm_Map_Overlay *overlay, void *data)
42 void *elm_map_overlay_data_get(Elm_Map_Overlay *overlay)
43 void elm_map_overlay_hide_set(Elm_Map_Overlay *overlay, Eina_Bool hide)
44 Eina_Bool elm_map_overlay_hide_get(Elm_Map_Overlay *overlay)
45 void elm_map_overlay_displayed_zoom_min_set(Elm_Map_Overlay *overlay, int zoom)
46 int elm_map_overlay_displayed_zoom_min_get(Elm_Map_Overlay *overlay)
47 void elm_map_overlay_paused_set(Elm_Map_Overlay *overlay, Eina_Bool paused)
48 Eina_Bool elm_map_overlay_paused_get(Elm_Map_Overlay *overlay)
49 Eina_Bool elm_map_overlay_visible_get(Elm_Map_Overlay *overlay)
50 void elm_map_overlay_content_set(Elm_Map_Overlay *overlay, Evas_Object *obj)
51 const_Evas_Object *elm_map_overlay_content_get(Elm_Map_Overlay *overlay)
52 void elm_map_overlay_icon_set(Elm_Map_Overlay *overlay, Evas_Object *icon)
53 const_Evas_Object *elm_map_overlay_icon_get(Elm_Map_Overlay *overlay)
54 void elm_map_overlay_region_set(Elm_Map_Overlay *overlay, double lon, double lat)
55 void elm_map_overlay_region_get(Elm_Map_Overlay *overlay, double *lon, double *lat)
56 void elm_map_overlay_color_set(Elm_Map_Overlay *overlay, int r, int g, int b, int a)
57 void elm_map_overlay_color_get(Elm_Map_Overlay *overlay, int *r, int *g, int *b, int *a)
58 void elm_map_overlay_show(Elm_Map_Overlay *overlay)
59 void elm_map_overlay_get_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Get_Cb get_cb, void *data)
60 void elm_map_overlay_del_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Del_Cb del_cb, void *data)
61 void elm_map_overlays_show(Eina_List *overlays)
62 Elm_Map_Overlay *elm_map_overlay_class_add(Evas_Object *obj)
63 void elm_map_overlay_class_append(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay)
64 void elm_map_overlay_class_remove(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay)
65 void elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay *clas, int zoom)
66 int elm_map_overlay_class_zoom_max_get(Elm_Map_Overlay *clas)
67 Eina_List *elm_map_overlay_group_members_get(Elm_Map_Overlay *grp) # group ??
68 Elm_Map_Overlay *elm_map_overlay_bubble_add(Evas_Object *obj)
69 void elm_map_overlay_bubble_follow(Elm_Map_Overlay *bubble, Elm_Map_Overlay *parent)
70 void elm_map_overlay_bubble_content_append(Elm_Map_Overlay *bubble, Evas_Object *content)
71 void elm_map_overlay_bubble_content_clear(Elm_Map_Overlay *bubble)
72 Elm_Map_Overlay *elm_map_overlay_line_add(Evas_Object *obj, double flon, double flat, double tlon, double tlat)
73 Elm_Map_Overlay *elm_map_overlay_polygon_add(Evas_Object *obj)
74 void elm_map_overlay_polygon_region_add(Elm_Map_Overlay *overlay, double lon, double lat)
75 Elm_Map_Overlay *elm_map_overlay_circle_add(Evas_Object *obj, double lon, double lat, double radius)
76 Elm_Map_Overlay *elm_map_overlay_scale_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
77 Elm_Map_Overlay *elm_map_overlay_route_add(Evas_Object *obj, Elm_Map_Route *route)
78 void elm_map_tile_load_status_get(const_Evas_Object *obj, int *try_num, int *finish_num)
79 const_char * *elm_map_sources_get(const_Evas_Object *obj, Elm_Map_Source_Type type)
80 void elm_map_source_set(Evas_Object *obj, Elm_Map_Source_Type type, const_char *source_name)
81 const_char * elm_map_source_get(const_Evas_Object *obj, Elm_Map_Source_Type type)
82 Elm_Map_Route *elm_map_route_add(Evas_Object *obj, Elm_Map_Route_Type type, Elm_Map_Route_Method method, double flon, double flat, double tlon, double tlat, Elm_Map_Route_Cb route_cb, void *data)
83 void elm_map_route_del(Elm_Map_Route *route)
84 double elm_map_route_distance_get(Elm_Map_Route *route)
85 const_char * elm_map_route_node_get(Elm_Map_Route *route)
86 const_char * elm_map_route_waypoint_get(Elm_Map_Route *route)
87 Elm_Map_Name *elm_map_name_add(const_Evas_Object *obj, const_char *address, double lon, double lat, Elm_Map_Name_Cb name_cb, void *data)
88 void elm_map_name_del(Elm_Map_Name *name)
89 const_char * elm_map_name_address_get(Elm_Map_Name *name)
90 void elm_map_name_region_get(Elm_Map_Name *name, double *lon, double *lat)
91