summaryrefslogtreecommitdiff
path: root/efl/elementary/map.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-05-07 21:33:14 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2015-05-07 22:37:48 +0300
commita1f36bb0738d7f9f3fc60e37b15386cf50caec11 (patch)
tree06d347ca5cc670939dd46f0f6459e3853c17d975 /efl/elementary/map.pxd
parentdba05cc1bae27eff5f31f2859f4edb4ffac88380 (diff)
Elm: Unify modules into a monolithic module
Diffstat (limited to 'efl/elementary/map.pxd')
-rw-r--r--efl/elementary/map.pxd137
1 files changed, 0 insertions, 137 deletions
diff --git a/efl/elementary/map.pxd b/efl/elementary/map.pxd
deleted file mode 100644
index 1110f2a..0000000
--- a/efl/elementary/map.pxd
+++ /dev/null
@@ -1,137 +0,0 @@
1from efl.evas cimport Eina_Bool, Eina_List, Evas_Object, Evas_Coord
2
3
4cdef extern from "Elementary.h":
5
6 cpdef enum Elm_Map_Overlay_Type:
7 ELM_MAP_OVERLAY_TYPE_NONE
8 ELM_MAP_OVERLAY_TYPE_DEFAULT
9 ELM_MAP_OVERLAY_TYPE_CLASS
10 ELM_MAP_OVERLAY_TYPE_GROUP
11 ELM_MAP_OVERLAY_TYPE_BUBBLE
12 ELM_MAP_OVERLAY_TYPE_ROUTE
13 ELM_MAP_OVERLAY_TYPE_LINE
14 ELM_MAP_OVERLAY_TYPE_POLYGON
15 ELM_MAP_OVERLAY_TYPE_CIRCLE
16 ELM_MAP_OVERLAY_TYPE_SCALE
17 ctypedef enum Elm_Map_Overlay_Type:
18 pass
19
20 cpdef enum Elm_Map_Route_Method:
21 ELM_MAP_ROUTE_METHOD_FASTEST
22 ELM_MAP_ROUTE_METHOD_SHORTEST
23 ELM_MAP_ROUTE_METHOD_LAST
24 ctypedef enum Elm_Map_Route_Method:
25 pass
26
27 cpdef enum Elm_Map_Route_Type:
28 ELM_MAP_ROUTE_TYPE_MOTOCAR
29 ELM_MAP_ROUTE_TYPE_BICYCLE
30 ELM_MAP_ROUTE_TYPE_FOOT
31 ELM_MAP_ROUTE_TYPE_LAST
32 ctypedef enum Elm_Map_Route_Type:
33 pass
34
35 cpdef enum Elm_Map_Source_Type:
36 ELM_MAP_SOURCE_TYPE_TILE
37 ELM_MAP_SOURCE_TYPE_ROUTE
38 ELM_MAP_SOURCE_TYPE_NAME
39 ELM_MAP_SOURCE_TYPE_LAST
40 ctypedef enum Elm_Map_Source_Type:
41 pass
42
43 cpdef enum Elm_Map_Zoom_Mode:
44 ELM_MAP_ZOOM_MODE_MANUAL
45 ELM_MAP_ZOOM_MODE_AUTO_FIT
46 ELM_MAP_ZOOM_MODE_AUTO_FILL
47 ELM_MAP_ZOOM_MODE_LAST
48 ctypedef enum Elm_Map_Zoom_Mode:
49 pass
50
51
52 ctypedef void *Elm_Map_Overlay
53 ctypedef void *Elm_Map_Route
54 ctypedef void *Elm_Map_Name
55 ctypedef void (*Elm_Map_Overlay_Get_Cb)(void *data, Evas_Object *map, Elm_Map_Overlay *overlay)
56 ctypedef void (*Elm_Map_Overlay_Del_Cb)(void *data, Evas_Object *map, Elm_Map_Overlay *overlay)
57 ctypedef void (*Elm_Map_Route_Cb)(void *data, Evas_Object *map, Elm_Map_Route *route)
58 ctypedef void (*Elm_Map_Name_Cb)(void *data, Evas_Object *map, Elm_Map_Name *name)
59
60 Evas_Object *elm_map_add(Evas_Object *parent)
61 void elm_map_zoom_set(Evas_Object *obj, int zoom)
62 int elm_map_zoom_get(const Evas_Object *obj)
63 void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode)
64 Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const Evas_Object *obj)
65 void elm_map_zoom_min_set(Evas_Object *obj, int zoom)
66 int elm_map_zoom_min_get(const Evas_Object *obj)
67 void elm_map_zoom_max_set(Evas_Object *obj, int zoom)
68 int elm_map_zoom_max_get(const Evas_Object *obj)
69 void elm_map_region_get(const Evas_Object *obj, double *lon, double *lat)
70 void elm_map_region_bring_in(Evas_Object *obj, double lon, double lat)
71 void elm_map_region_zoom_bring_in(Evas_Object *obj, int zoom, double lon, double lat)
72 void elm_map_region_show(Evas_Object *obj, double lon, double lat)
73 void elm_map_canvas_to_region_convert(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, double *lon, double *lat)
74 void elm_map_region_to_canvas_convert(const Evas_Object *obj, double lon, double lat, Evas_Coord *x, Evas_Coord *y)
75 void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused)
76 Eina_Bool elm_map_paused_get(const Evas_Object *obj)
77 void elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy)
78 void elm_map_rotate_get(const Evas_Object *obj, double *degree, Evas_Coord *cx, Evas_Coord *cy)
79 void elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
80 Eina_Bool elm_map_wheel_disabled_get(const Evas_Object *obj)
81 void elm_map_user_agent_set(Evas_Object *obj, char *user_agent)
82 char *elm_map_user_agent_get(const Evas_Object *obj)
83 Eina_List *elm_map_overlays_get(const Evas_Object *obj)
84 Elm_Map_Overlay *elm_map_overlay_add(Evas_Object *obj, double lon, double lat)
85 void elm_map_overlay_del(Elm_Map_Overlay *overlay)
86 Elm_Map_Overlay_Type elm_map_overlay_type_get(Elm_Map_Overlay *overlay)
87 void elm_map_overlay_data_set(Elm_Map_Overlay *overlay, void *data)
88 void *elm_map_overlay_data_get(Elm_Map_Overlay *overlay)
89 void elm_map_overlay_hide_set(Elm_Map_Overlay *overlay, Eina_Bool hide)
90 Eina_Bool elm_map_overlay_hide_get(Elm_Map_Overlay *overlay)
91 void elm_map_overlay_displayed_zoom_min_set(Elm_Map_Overlay *overlay, int zoom)
92 int elm_map_overlay_displayed_zoom_min_get(Elm_Map_Overlay *overlay)
93 void elm_map_overlay_paused_set(Elm_Map_Overlay *overlay, Eina_Bool paused)
94 Eina_Bool elm_map_overlay_paused_get(Elm_Map_Overlay *overlay)
95 Eina_Bool elm_map_overlay_visible_get(Elm_Map_Overlay *overlay)
96 void elm_map_overlay_content_set(Elm_Map_Overlay *overlay, Evas_Object *obj)
97 const Evas_Object *elm_map_overlay_content_get(Elm_Map_Overlay *overlay)
98 void elm_map_overlay_icon_set(Elm_Map_Overlay *overlay, Evas_Object *icon)
99 const Evas_Object *elm_map_overlay_icon_get(Elm_Map_Overlay *overlay)
100 void elm_map_overlay_region_set(Elm_Map_Overlay *overlay, double lon, double lat)
101 void elm_map_overlay_region_get(Elm_Map_Overlay *overlay, double *lon, double *lat)
102 void elm_map_overlay_color_set(Elm_Map_Overlay *overlay, int r, int g, int b, int a)
103 void elm_map_overlay_color_get(Elm_Map_Overlay *overlay, int *r, int *g, int *b, int *a)
104 void elm_map_overlay_show(Elm_Map_Overlay *overlay)
105 void elm_map_overlay_get_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Get_Cb get_cb, void *data)
106 void elm_map_overlay_del_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Del_Cb del_cb, void *data)
107 void elm_map_overlays_show(Eina_List *overlays)
108 Elm_Map_Overlay *elm_map_overlay_class_add(Evas_Object *obj)
109 void elm_map_overlay_class_append(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay)
110 void elm_map_overlay_class_remove(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay)
111 void elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay *clas, int zoom)
112 int elm_map_overlay_class_zoom_max_get(Elm_Map_Overlay *clas)
113 Eina_List *elm_map_overlay_group_members_get(Elm_Map_Overlay *grp) # group ??
114 Elm_Map_Overlay *elm_map_overlay_bubble_add(Evas_Object *obj)
115 void elm_map_overlay_bubble_follow(Elm_Map_Overlay *bubble, Elm_Map_Overlay *parent)
116 void elm_map_overlay_bubble_content_append(Elm_Map_Overlay *bubble, Evas_Object *content)
117 void elm_map_overlay_bubble_content_clear(Elm_Map_Overlay *bubble)
118 Elm_Map_Overlay *elm_map_overlay_line_add(Evas_Object *obj, double flon, double flat, double tlon, double tlat)
119 Elm_Map_Overlay *elm_map_overlay_polygon_add(Evas_Object *obj)
120 void elm_map_overlay_polygon_region_add(Elm_Map_Overlay *overlay, double lon, double lat)
121 Elm_Map_Overlay *elm_map_overlay_circle_add(Evas_Object *obj, double lon, double lat, double radius)
122 Elm_Map_Overlay *elm_map_overlay_scale_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
123 Elm_Map_Overlay *elm_map_overlay_route_add(Evas_Object *obj, Elm_Map_Route *route)
124 void elm_map_tile_load_status_get(const Evas_Object *obj, int *try_num, int *finish_num)
125 const char * *elm_map_sources_get(const Evas_Object *obj, Elm_Map_Source_Type type)
126 void elm_map_source_set(Evas_Object *obj, Elm_Map_Source_Type type, const char *source_name)
127 const char * elm_map_source_get(const Evas_Object *obj, Elm_Map_Source_Type type)
128 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)
129 void elm_map_route_del(Elm_Map_Route *route)
130 double elm_map_route_distance_get(Elm_Map_Route *route)
131 const char * elm_map_route_node_get(Elm_Map_Route *route)
132 const char * elm_map_route_waypoint_get(Elm_Map_Route *route)
133 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)
134 void elm_map_name_del(Elm_Map_Name *name)
135 const char * elm_map_name_address_get(Elm_Map_Name *name)
136 void elm_map_name_region_get(Elm_Map_Name *name, double *lon, double *lat)
137