1 #ifndef NAVIT_GUI_QML_ROUTEPROXY_H
2 #define NAVIT_GUI_QML_ROUTEPROXY_H
15 struct pcoord *coords=(
struct pcoord*)malloc(
sizeof(
struct pcoord)*(destinations.size()+1));
17 for (QList<struct attr>::const_iterator
iter=destinations.begin();
iter!=destinations.end();
iter++) {
18 coords[counter]=*(
iter->u.pcoord);
23 coords[counter]=*(this->
object->currentPoint->pc());
31 for (QList<struct attr>::const_iterator
iter=destinations.begin();
iter!=destinations.end();
iter++) {
49 QList<struct attr> ret;
59 while (
getAttrFunc(attr_destination, &attr, iter) ) {
60 struct attr c_attr=attr;
61 ret.push_front(c_attr);
70 #include "routeProxy.moc"
attr_type
Definition: attr.h:34
int setAttrFunc(struct attr *attr)
Definition: routeProxy.h:44
tuple iter
Definition: eval.py:8
Definition: gpx2navit_txt.h:51
Definition: ngqpoint.h:32
struct route * navit_get_route(struct navit *this_)
Definition: navit.c:3393
void addDestination()
Definition: routeProxy.h:12
NGQProxyRoute(struct gui_priv *this_, QObject *parent)
Definition: routeProxy.h:9
void dropIterFunc(struct attr_iter *iter)
Definition: routeProxy.h:46
void route_set_destinations(struct route *this, struct pcoord *dst, int count, int async)
Sets the destination of a route.
Definition: route.c:1180
Definition: graphics_win32.h:52
int getAttrFunc(enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: routeProxy.h:43
#define dbg(level,...)
Definition: debug.h:59
void route_attr_iter_destroy(struct attr_iter *iter)
Definition: route.c:4186
QList< struct attr > _routeDestinations()
Definition: routeProxy.h:48
struct navit * nav
Definition: graphics_win32.h:53
int route_set_attr(struct route *this_, struct attr *attr)
Definition: route.c:4036
struct gui_priv * object
Definition: proxy.h:89
Definition: ngqpoint.h:34
Definition: routeProxy.h:5
int route_get_attr(struct route *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: route.c:4106
char type[3]
Definition: garmin_img.c:130
QString coordString
Definition: ngqpoint.h:35
QString getDestinations()
Definition: routeProxy.h:28
struct attr_iter * getIterFunc()
Definition: routeProxy.h:45
struct attr_iter * route_attr_iter_new(void)
Definition: route.c:4180