// +build !minimal #define protected public #define private public #include "location.h" #include "_cgo_export.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void* QGeoManeuver_NewQGeoManeuver() { return new QGeoManeuver(); } void* QGeoManeuver_NewQGeoManeuver2(void* other) { return new QGeoManeuver(*static_cast(other)); } void QGeoManeuver_SetDirection(void* ptr, long long direction) { static_cast(ptr)->setDirection(static_cast(direction)); } void QGeoManeuver_SetDistanceToNextInstruction(void* ptr, double distance) { static_cast(ptr)->setDistanceToNextInstruction(distance); } void QGeoManeuver_SetInstructionText(void* ptr, char* instructionText) { static_cast(ptr)->setInstructionText(QString(instructionText)); } void QGeoManeuver_SetPosition(void* ptr, void* position) { static_cast(ptr)->setPosition(*static_cast(position)); } void QGeoManeuver_SetTimeToNextInstruction(void* ptr, int secs) { static_cast(ptr)->setTimeToNextInstruction(secs); } void QGeoManeuver_SetWaypoint(void* ptr, void* coordinate) { static_cast(ptr)->setWaypoint(*static_cast(coordinate)); } void QGeoManeuver_DestroyQGeoManeuver(void* ptr) { static_cast(ptr)->~QGeoManeuver(); } long long QGeoManeuver_Direction(void* ptr) { return static_cast(ptr)->direction(); } void* QGeoManeuver_Position(void* ptr) { return new QGeoCoordinate(static_cast(ptr)->position()); } void* QGeoManeuver_Waypoint(void* ptr) { return new QGeoCoordinate(static_cast(ptr)->waypoint()); } struct QtLocation_PackedString QGeoManeuver_InstructionText(void* ptr) { return ({ QByteArray t4cc4b3 = static_cast(ptr)->instructionText().toUtf8(); QtLocation_PackedString { const_cast(t4cc4b3.prepend("WHITESPACE").constData()+10), t4cc4b3.size()-10 }; }); } char QGeoManeuver_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QGeoManeuver_TimeToNextInstruction(void* ptr) { return static_cast(ptr)->timeToNextInstruction(); } double QGeoManeuver_DistanceToNextInstruction(void* ptr) { return static_cast(ptr)->distanceToNextInstruction(); } void* QGeoRoute_NewQGeoRoute() { return new QGeoRoute(); } void* QGeoRoute_NewQGeoRoute2(void* other) { return new QGeoRoute(*static_cast(other)); } void QGeoRoute_SetBounds(void* ptr, void* bounds) { static_cast(ptr)->setBounds(*static_cast(bounds)); } void QGeoRoute_SetDistance(void* ptr, double distance) { static_cast(ptr)->setDistance(distance); } void QGeoRoute_SetFirstRouteSegment(void* ptr, void* routeSegment) { static_cast(ptr)->setFirstRouteSegment(*static_cast(routeSegment)); } void QGeoRoute_SetPath(void* ptr, void* path) { static_cast(ptr)->setPath(*static_cast*>(path)); } void QGeoRoute_SetRequest(void* ptr, void* request) { static_cast(ptr)->setRequest(*static_cast(request)); } void QGeoRoute_SetRouteId(void* ptr, char* id) { static_cast(ptr)->setRouteId(QString(id)); } void QGeoRoute_SetTravelMode(void* ptr, long long mode) { static_cast(ptr)->setTravelMode(static_cast(mode)); } void QGeoRoute_SetTravelTime(void* ptr, int secs) { static_cast(ptr)->setTravelTime(secs); } void QGeoRoute_DestroyQGeoRoute(void* ptr) { static_cast(ptr)->~QGeoRoute(); } void* QGeoRoute_Bounds(void* ptr) { return new QGeoRectangle(static_cast(ptr)->bounds()); } void* QGeoRoute_Request(void* ptr) { return new QGeoRouteRequest(static_cast(ptr)->request()); } long long QGeoRoute_TravelMode(void* ptr) { return static_cast(ptr)->travelMode(); } void* QGeoRoute_FirstRouteSegment(void* ptr) { return new QGeoRouteSegment(static_cast(ptr)->firstRouteSegment()); } struct QtLocation_PackedList QGeoRoute_Path(void* ptr) { return ({ QList* tmpValue = new QList(static_cast(ptr)->path()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } struct QtLocation_PackedString QGeoRoute_RouteId(void* ptr) { return ({ QByteArray t7492be = static_cast(ptr)->routeId().toUtf8(); QtLocation_PackedString { const_cast(t7492be.prepend("WHITESPACE").constData()+10), t7492be.size()-10 }; }); } int QGeoRoute_TravelTime(void* ptr) { return static_cast(ptr)->travelTime(); } double QGeoRoute_Distance(void* ptr) { return static_cast(ptr)->distance(); } void* QGeoRoute___setPath_path_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRoute___setPath_path_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRoute___setPath_path_newList(void* ptr) { return new QList; } void* QGeoRoute___path_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRoute___path_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRoute___path_newList(void* ptr) { return new QList; } class MyQGeoRouteReply: public QGeoRouteReply { public: MyQGeoRouteReply(Error error, const QString &errorString, QObject *parent = Q_NULLPTR) : QGeoRouteReply(error, errorString, parent) {}; MyQGeoRouteReply(const QGeoRouteRequest &request, QObject *parent = Q_NULLPTR) : QGeoRouteReply(request, parent) {}; void abort() { callbackQGeoRouteReply_Abort(this); }; void Signal_Error2(QGeoRouteReply::Error error, const QString & errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtLocation_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQGeoRouteReply_Error2(this, error, errorStringPacked); }; void Signal_Finished() { callbackQGeoRouteReply_Finished(this); }; ~MyQGeoRouteReply() { callbackQGeoRouteReply_DestroyQGeoRouteReply(this); }; bool event(QEvent * e) { return callbackQGeoRouteReply_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGeoRouteReply_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQGeoRouteReply_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGeoRouteReply_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGeoRouteReply_CustomEvent(this, event); }; void deleteLater() { callbackQGeoRouteReply_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGeoRouteReply_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGeoRouteReply_DisconnectNotify(this, const_cast(&sign)); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtLocation_PackedString objectNamePacked = { const_cast(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGeoRouteReply_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGeoRouteReply_TimerEvent(this, event); }; const QMetaObject * metaObject() const { return static_cast(callbackQGeoRouteReply_MetaObject(const_cast(static_cast(this)))); }; }; void* QGeoRouteReply_NewQGeoRouteReply(long long error, char* errorString, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } else { return new MyQGeoRouteReply(static_cast(error), QString(errorString), static_cast(parent)); } } void* QGeoRouteReply_NewQGeoRouteReply2(void* request, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } else { return new MyQGeoRouteReply(*static_cast(request), static_cast(parent)); } } void QGeoRouteReply_Abort(void* ptr) { static_cast(ptr)->abort(); } void QGeoRouteReply_AbortDefault(void* ptr) { static_cast(ptr)->QGeoRouteReply::abort(); } void QGeoRouteReply_AddRoutes(void* ptr, void* routes) { static_cast(ptr)->addRoutes(*static_cast*>(routes)); } void QGeoRouteReply_ConnectError2(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QGeoRouteReply::error), static_cast(ptr), static_cast(&MyQGeoRouteReply::Signal_Error2)); } void QGeoRouteReply_DisconnectError2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGeoRouteReply::error), static_cast(ptr), static_cast(&MyQGeoRouteReply::Signal_Error2)); } void QGeoRouteReply_Error2(void* ptr, long long error, char* errorString) { static_cast(ptr)->error(static_cast(error), QString(errorString)); } void QGeoRouteReply_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QGeoRouteReply::finished), static_cast(ptr), static_cast(&MyQGeoRouteReply::Signal_Finished)); } void QGeoRouteReply_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGeoRouteReply::finished), static_cast(ptr), static_cast(&MyQGeoRouteReply::Signal_Finished)); } void QGeoRouteReply_Finished(void* ptr) { static_cast(ptr)->finished(); } void QGeoRouteReply_SetError(void* ptr, long long error, char* errorString) { static_cast(ptr)->setError(static_cast(error), QString(errorString)); } void QGeoRouteReply_SetFinished(void* ptr, char finished) { static_cast(ptr)->setFinished(finished != 0); } void QGeoRouteReply_SetRoutes(void* ptr, void* routes) { static_cast(ptr)->setRoutes(*static_cast*>(routes)); } void QGeoRouteReply_DestroyQGeoRouteReply(void* ptr) { static_cast(ptr)->~QGeoRouteReply(); } void QGeoRouteReply_DestroyQGeoRouteReplyDefault(void* ptr) { } long long QGeoRouteReply_Error(void* ptr) { return static_cast(ptr)->error(); } void* QGeoRouteReply_Request(void* ptr) { return new QGeoRouteRequest(static_cast(ptr)->request()); } struct QtLocation_PackedList QGeoRouteReply_Routes(void* ptr) { return ({ QList* tmpValue = new QList(static_cast(ptr)->routes()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } struct QtLocation_PackedString QGeoRouteReply_ErrorString(void* ptr) { return ({ QByteArray t834aee = static_cast(ptr)->errorString().toUtf8(); QtLocation_PackedString { const_cast(t834aee.prepend("WHITESPACE").constData()+10), t834aee.size()-10 }; }); } char QGeoRouteReply_IsFinished(void* ptr) { return static_cast(ptr)->isFinished(); } void* QGeoRouteReply___addRoutes_routes_atList(void* ptr, int i) { return new QGeoRoute(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___addRoutes_routes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteReply___addRoutes_routes_newList(void* ptr) { return new QList; } void* QGeoRouteReply___setRoutes_routes_atList(void* ptr, int i) { return new QGeoRoute(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___setRoutes_routes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteReply___setRoutes_routes_newList(void* ptr) { return new QList; } void* QGeoRouteReply___routes_atList(void* ptr, int i) { return new QGeoRoute(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___routes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteReply___routes_newList(void* ptr) { return new QList; } void* QGeoRouteReply___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteReply___dynamicPropertyNames_newList(void* ptr) { return new QList; } void* QGeoRouteReply___findChildren_atList2(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___findChildren_setList2(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRouteReply___findChildren_newList2(void* ptr) { return new QList; } void* QGeoRouteReply___findChildren_atList3(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___findChildren_setList3(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRouteReply___findChildren_newList3(void* ptr) { return new QList; } void* QGeoRouteReply___findChildren_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___findChildren_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRouteReply___findChildren_newList(void* ptr) { return new QList; } void* QGeoRouteReply___children_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRouteReply___children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRouteReply___children_newList(void* ptr) { return new QList; } char QGeoRouteReply_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QGeoRouteReply::event(static_cast(e)); } char QGeoRouteReply_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QGeoRouteReply::eventFilter(static_cast(watched), static_cast(event)); } void QGeoRouteReply_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRouteReply::childEvent(static_cast(event)); } void QGeoRouteReply_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoRouteReply::connectNotify(*static_cast(sign)); } void QGeoRouteReply_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRouteReply::customEvent(static_cast(event)); } void QGeoRouteReply_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGeoRouteReply::deleteLater(); } void QGeoRouteReply_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoRouteReply::disconnectNotify(*static_cast(sign)); } void QGeoRouteReply_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRouteReply::timerEvent(static_cast(event)); } void* QGeoRouteReply_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGeoRouteReply::metaObject()); } void* QGeoRouteRequest_NewQGeoRouteRequest2(void* origin, void* destination) { return new QGeoRouteRequest(*static_cast(origin), *static_cast(destination)); } void* QGeoRouteRequest_NewQGeoRouteRequest3(void* other) { return new QGeoRouteRequest(*static_cast(other)); } void* QGeoRouteRequest_NewQGeoRouteRequest(void* waypoints) { return new QGeoRouteRequest(*static_cast*>(waypoints)); } void QGeoRouteRequest_SetExcludeAreas(void* ptr, void* areas) { static_cast(ptr)->setExcludeAreas(*static_cast*>(areas)); } void QGeoRouteRequest_SetFeatureWeight(void* ptr, long long featureType, long long featureWeight) { static_cast(ptr)->setFeatureWeight(static_cast(featureType), static_cast(featureWeight)); } void QGeoRouteRequest_SetManeuverDetail(void* ptr, long long maneuverDetail) { static_cast(ptr)->setManeuverDetail(static_cast(maneuverDetail)); } void QGeoRouteRequest_SetNumberAlternativeRoutes(void* ptr, int alternatives) { static_cast(ptr)->setNumberAlternativeRoutes(alternatives); } void QGeoRouteRequest_SetRouteOptimization(void* ptr, long long optimization) { static_cast(ptr)->setRouteOptimization(static_cast(optimization)); } void QGeoRouteRequest_SetSegmentDetail(void* ptr, long long segmentDetail) { static_cast(ptr)->setSegmentDetail(static_cast(segmentDetail)); } void QGeoRouteRequest_SetTravelModes(void* ptr, long long travelModes) { static_cast(ptr)->setTravelModes(static_cast(travelModes)); } void QGeoRouteRequest_SetWaypoints(void* ptr, void* waypoints) { static_cast(ptr)->setWaypoints(*static_cast*>(waypoints)); } void QGeoRouteRequest_DestroyQGeoRouteRequest(void* ptr) { static_cast(ptr)->~QGeoRouteRequest(); } long long QGeoRouteRequest_FeatureWeight(void* ptr, long long featureType) { return static_cast(ptr)->featureWeight(static_cast(featureType)); } long long QGeoRouteRequest_ManeuverDetail(void* ptr) { return static_cast(ptr)->maneuverDetail(); } struct QtLocation_PackedList QGeoRouteRequest_Waypoints(void* ptr) { return ({ QList* tmpValue = new QList(static_cast(ptr)->waypoints()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } struct QtLocation_PackedList QGeoRouteRequest_ExcludeAreas(void* ptr) { return ({ QList* tmpValue = new QList(static_cast(ptr)->excludeAreas()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } long long QGeoRouteRequest_RouteOptimization(void* ptr) { return static_cast(ptr)->routeOptimization(); } long long QGeoRouteRequest_SegmentDetail(void* ptr) { return static_cast(ptr)->segmentDetail(); } long long QGeoRouteRequest_TravelModes(void* ptr) { return static_cast(ptr)->travelModes(); } int QGeoRouteRequest_NumberAlternativeRoutes(void* ptr) { return static_cast(ptr)->numberAlternativeRoutes(); } void* QGeoRouteRequest___QGeoRouteRequest_waypoints_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRouteRequest___QGeoRouteRequest_waypoints_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteRequest___QGeoRouteRequest_waypoints_newList(void* ptr) { return new QList; } void* QGeoRouteRequest___setExcludeAreas_areas_atList(void* ptr, int i) { return new QGeoRectangle(static_cast*>(ptr)->at(i)); } void QGeoRouteRequest___setExcludeAreas_areas_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteRequest___setExcludeAreas_areas_newList(void* ptr) { return new QList; } void* QGeoRouteRequest___setWaypoints_waypoints_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRouteRequest___setWaypoints_waypoints_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteRequest___setWaypoints_waypoints_newList(void* ptr) { return new QList; } void* QGeoRouteRequest___waypoints_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRouteRequest___waypoints_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteRequest___waypoints_newList(void* ptr) { return new QList; } void* QGeoRouteRequest___excludeAreas_atList(void* ptr, int i) { return new QGeoRectangle(static_cast*>(ptr)->at(i)); } void QGeoRouteRequest___excludeAreas_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteRequest___excludeAreas_newList(void* ptr) { return new QList; } void* QGeoRouteSegment_NewQGeoRouteSegment() { return new QGeoRouteSegment(); } void* QGeoRouteSegment_NewQGeoRouteSegment2(void* other) { return new QGeoRouteSegment(*static_cast(other)); } void QGeoRouteSegment_SetDistance(void* ptr, double distance) { static_cast(ptr)->setDistance(distance); } void QGeoRouteSegment_SetManeuver(void* ptr, void* maneuver) { static_cast(ptr)->setManeuver(*static_cast(maneuver)); } void QGeoRouteSegment_SetNextRouteSegment(void* ptr, void* routeSegment) { static_cast(ptr)->setNextRouteSegment(*static_cast(routeSegment)); } void QGeoRouteSegment_SetPath(void* ptr, void* path) { static_cast(ptr)->setPath(*static_cast*>(path)); } void QGeoRouteSegment_SetTravelTime(void* ptr, int secs) { static_cast(ptr)->setTravelTime(secs); } void QGeoRouteSegment_DestroyQGeoRouteSegment(void* ptr) { static_cast(ptr)->~QGeoRouteSegment(); } void* QGeoRouteSegment_Maneuver(void* ptr) { return new QGeoManeuver(static_cast(ptr)->maneuver()); } void* QGeoRouteSegment_NextRouteSegment(void* ptr) { return new QGeoRouteSegment(static_cast(ptr)->nextRouteSegment()); } struct QtLocation_PackedList QGeoRouteSegment_Path(void* ptr) { return ({ QList* tmpValue = new QList(static_cast(ptr)->path()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } char QGeoRouteSegment_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QGeoRouteSegment_TravelTime(void* ptr) { return static_cast(ptr)->travelTime(); } double QGeoRouteSegment_Distance(void* ptr) { return static_cast(ptr)->distance(); } void* QGeoRouteSegment___setPath_path_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRouteSegment___setPath_path_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteSegment___setPath_path_newList(void* ptr) { return new QList; } void* QGeoRouteSegment___path_atList(void* ptr, int i) { return new QGeoCoordinate(static_cast*>(ptr)->at(i)); } void QGeoRouteSegment___path_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRouteSegment___path_newList(void* ptr) { return new QList; } class MyQGeoRoutingManager: public QGeoRoutingManager { public: void Signal_Error(QGeoRouteReply * reply, QGeoRouteReply::Error error, QString errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtLocation_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQGeoRoutingManager_Error(this, reply, error, errorStringPacked); }; void Signal_Finished(QGeoRouteReply * reply) { callbackQGeoRoutingManager_Finished(this, reply); }; bool event(QEvent * e) { return callbackQGeoRoutingManager_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGeoRoutingManager_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQGeoRoutingManager_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGeoRoutingManager_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGeoRoutingManager_CustomEvent(this, event); }; void deleteLater() { callbackQGeoRoutingManager_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGeoRoutingManager_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGeoRoutingManager_DisconnectNotify(this, const_cast(&sign)); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtLocation_PackedString objectNamePacked = { const_cast(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGeoRoutingManager_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGeoRoutingManager_TimerEvent(this, event); }; const QMetaObject * metaObject() const { return static_cast(callbackQGeoRoutingManager_MetaObject(const_cast(static_cast(this)))); }; }; void* QGeoRoutingManager_CalculateRoute(void* ptr, void* request) { return static_cast(ptr)->calculateRoute(*static_cast(request)); } void* QGeoRoutingManager_UpdateRoute(void* ptr, void* route, void* position) { return static_cast(ptr)->updateRoute(*static_cast(route), *static_cast(position)); } void QGeoRoutingManager_ConnectError(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QGeoRoutingManager::error), static_cast(ptr), static_cast(&MyQGeoRoutingManager::Signal_Error)); } void QGeoRoutingManager_DisconnectError(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGeoRoutingManager::error), static_cast(ptr), static_cast(&MyQGeoRoutingManager::Signal_Error)); } void QGeoRoutingManager_Error(void* ptr, void* reply, long long error, char* errorString) { static_cast(ptr)->error(static_cast(reply), static_cast(error), QString(errorString)); } void QGeoRoutingManager_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QGeoRoutingManager::finished), static_cast(ptr), static_cast(&MyQGeoRoutingManager::Signal_Finished)); } void QGeoRoutingManager_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGeoRoutingManager::finished), static_cast(ptr), static_cast(&MyQGeoRoutingManager::Signal_Finished)); } void QGeoRoutingManager_Finished(void* ptr, void* reply) { static_cast(ptr)->finished(static_cast(reply)); } void QGeoRoutingManager_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } void QGeoRoutingManager_SetMeasurementSystem(void* ptr, long long system) { static_cast(ptr)->setMeasurementSystem(static_cast(system)); } void QGeoRoutingManager_DestroyQGeoRoutingManager(void* ptr) { static_cast(ptr)->~QGeoRoutingManager(); } long long QGeoRoutingManager_SupportedFeatureTypes(void* ptr) { return static_cast(ptr)->supportedFeatureTypes(); } long long QGeoRoutingManager_SupportedFeatureWeights(void* ptr) { return static_cast(ptr)->supportedFeatureWeights(); } long long QGeoRoutingManager_SupportedManeuverDetails(void* ptr) { return static_cast(ptr)->supportedManeuverDetails(); } long long QGeoRoutingManager_SupportedRouteOptimizations(void* ptr) { return static_cast(ptr)->supportedRouteOptimizations(); } long long QGeoRoutingManager_SupportedSegmentDetails(void* ptr) { return static_cast(ptr)->supportedSegmentDetails(); } long long QGeoRoutingManager_SupportedTravelModes(void* ptr) { return static_cast(ptr)->supportedTravelModes(); } void* QGeoRoutingManager_Locale(void* ptr) { return new QLocale(static_cast(ptr)->locale()); } long long QGeoRoutingManager_MeasurementSystem(void* ptr) { return static_cast(ptr)->measurementSystem(); } struct QtLocation_PackedString QGeoRoutingManager_ManagerName(void* ptr) { return ({ QByteArray t48ee82 = static_cast(ptr)->managerName().toUtf8(); QtLocation_PackedString { const_cast(t48ee82.prepend("WHITESPACE").constData()+10), t48ee82.size()-10 }; }); } int QGeoRoutingManager_ManagerVersion(void* ptr) { return static_cast(ptr)->managerVersion(); } void* QGeoRoutingManager___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(static_cast*>(ptr)->at(i)); } void QGeoRoutingManager___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRoutingManager___dynamicPropertyNames_newList(void* ptr) { return new QList; } void* QGeoRoutingManager___findChildren_atList2(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManager___findChildren_setList2(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManager___findChildren_newList2(void* ptr) { return new QList; } void* QGeoRoutingManager___findChildren_atList3(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManager___findChildren_setList3(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManager___findChildren_newList3(void* ptr) { return new QList; } void* QGeoRoutingManager___findChildren_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManager___findChildren_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManager___findChildren_newList(void* ptr) { return new QList; } void* QGeoRoutingManager___children_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManager___children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManager___children_newList(void* ptr) { return new QList; } char QGeoRoutingManager_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QGeoRoutingManager::event(static_cast(e)); } char QGeoRoutingManager_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QGeoRoutingManager::eventFilter(static_cast(watched), static_cast(event)); } void QGeoRoutingManager_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRoutingManager::childEvent(static_cast(event)); } void QGeoRoutingManager_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoRoutingManager::connectNotify(*static_cast(sign)); } void QGeoRoutingManager_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRoutingManager::customEvent(static_cast(event)); } void QGeoRoutingManager_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGeoRoutingManager::deleteLater(); } void QGeoRoutingManager_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoRoutingManager::disconnectNotify(*static_cast(sign)); } void QGeoRoutingManager_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRoutingManager::timerEvent(static_cast(event)); } void* QGeoRoutingManager_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGeoRoutingManager::metaObject()); } class MyQGeoRoutingManagerEngine: public QGeoRoutingManagerEngine { public: MyQGeoRoutingManagerEngine(const QVariantMap ¶meters, QObject *parent = Q_NULLPTR) : QGeoRoutingManagerEngine(parameters, parent) {}; QGeoRouteReply * calculateRoute(const QGeoRouteRequest & request) { return static_cast(callbackQGeoRoutingManagerEngine_CalculateRoute(this, const_cast(&request))); }; QGeoRouteReply * updateRoute(const QGeoRoute & route, const QGeoCoordinate & position) { return static_cast(callbackQGeoRoutingManagerEngine_UpdateRoute(this, const_cast(&route), const_cast(&position))); }; void Signal_Error(QGeoRouteReply * reply, QGeoRouteReply::Error error, QString errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtLocation_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQGeoRoutingManagerEngine_Error(this, reply, error, errorStringPacked); }; void Signal_Finished(QGeoRouteReply * reply) { callbackQGeoRoutingManagerEngine_Finished(this, reply); }; ~MyQGeoRoutingManagerEngine() { callbackQGeoRoutingManagerEngine_DestroyQGeoRoutingManagerEngine(this); }; bool event(QEvent * e) { return callbackQGeoRoutingManagerEngine_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGeoRoutingManagerEngine_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQGeoRoutingManagerEngine_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGeoRoutingManagerEngine_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGeoRoutingManagerEngine_CustomEvent(this, event); }; void deleteLater() { callbackQGeoRoutingManagerEngine_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGeoRoutingManagerEngine_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGeoRoutingManagerEngine_DisconnectNotify(this, const_cast(&sign)); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtLocation_PackedString objectNamePacked = { const_cast(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGeoRoutingManagerEngine_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGeoRoutingManagerEngine_TimerEvent(this, event); }; const QMetaObject * metaObject() const { return static_cast(callbackQGeoRoutingManagerEngine_MetaObject(const_cast(static_cast(this)))); }; }; void* QGeoRoutingManagerEngine_CalculateRoute(void* ptr, void* request) { return static_cast(ptr)->calculateRoute(*static_cast(request)); } void* QGeoRoutingManagerEngine_UpdateRoute(void* ptr, void* route, void* position) { return static_cast(ptr)->updateRoute(*static_cast(route), *static_cast(position)); } void* QGeoRoutingManagerEngine_UpdateRouteDefault(void* ptr, void* route, void* position) { return static_cast(ptr)->QGeoRoutingManagerEngine::updateRoute(*static_cast(route), *static_cast(position)); } void* QGeoRoutingManagerEngine_NewQGeoRoutingManagerEngine(void* parameters, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } else { return new MyQGeoRoutingManagerEngine(*static_cast*>(parameters), static_cast(parent)); } } void QGeoRoutingManagerEngine_ConnectError(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QGeoRoutingManagerEngine::error), static_cast(ptr), static_cast(&MyQGeoRoutingManagerEngine::Signal_Error)); } void QGeoRoutingManagerEngine_DisconnectError(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGeoRoutingManagerEngine::error), static_cast(ptr), static_cast(&MyQGeoRoutingManagerEngine::Signal_Error)); } void QGeoRoutingManagerEngine_Error(void* ptr, void* reply, long long error, char* errorString) { static_cast(ptr)->error(static_cast(reply), static_cast(error), QString(errorString)); } void QGeoRoutingManagerEngine_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QGeoRoutingManagerEngine::finished), static_cast(ptr), static_cast(&MyQGeoRoutingManagerEngine::Signal_Finished)); } void QGeoRoutingManagerEngine_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGeoRoutingManagerEngine::finished), static_cast(ptr), static_cast(&MyQGeoRoutingManagerEngine::Signal_Finished)); } void QGeoRoutingManagerEngine_Finished(void* ptr, void* reply) { static_cast(ptr)->finished(static_cast(reply)); } void QGeoRoutingManagerEngine_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } void QGeoRoutingManagerEngine_SetMeasurementSystem(void* ptr, long long system) { static_cast(ptr)->setMeasurementSystem(static_cast(system)); } void QGeoRoutingManagerEngine_SetSupportedFeatureTypes(void* ptr, long long featureTypes) { static_cast(ptr)->setSupportedFeatureTypes(static_cast(featureTypes)); } void QGeoRoutingManagerEngine_SetSupportedFeatureWeights(void* ptr, long long featureWeights) { static_cast(ptr)->setSupportedFeatureWeights(static_cast(featureWeights)); } void QGeoRoutingManagerEngine_SetSupportedManeuverDetails(void* ptr, long long maneuverDetails) { static_cast(ptr)->setSupportedManeuverDetails(static_cast(maneuverDetails)); } void QGeoRoutingManagerEngine_SetSupportedRouteOptimizations(void* ptr, long long optimizations) { static_cast(ptr)->setSupportedRouteOptimizations(static_cast(optimizations)); } void QGeoRoutingManagerEngine_SetSupportedSegmentDetails(void* ptr, long long segmentDetails) { static_cast(ptr)->setSupportedSegmentDetails(static_cast(segmentDetails)); } void QGeoRoutingManagerEngine_SetSupportedTravelModes(void* ptr, long long travelModes) { static_cast(ptr)->setSupportedTravelModes(static_cast(travelModes)); } void QGeoRoutingManagerEngine_DestroyQGeoRoutingManagerEngine(void* ptr) { static_cast(ptr)->~QGeoRoutingManagerEngine(); } void QGeoRoutingManagerEngine_DestroyQGeoRoutingManagerEngineDefault(void* ptr) { } long long QGeoRoutingManagerEngine_SupportedFeatureTypes(void* ptr) { return static_cast(ptr)->supportedFeatureTypes(); } long long QGeoRoutingManagerEngine_SupportedFeatureWeights(void* ptr) { return static_cast(ptr)->supportedFeatureWeights(); } long long QGeoRoutingManagerEngine_SupportedManeuverDetails(void* ptr) { return static_cast(ptr)->supportedManeuverDetails(); } long long QGeoRoutingManagerEngine_SupportedRouteOptimizations(void* ptr) { return static_cast(ptr)->supportedRouteOptimizations(); } long long QGeoRoutingManagerEngine_SupportedSegmentDetails(void* ptr) { return static_cast(ptr)->supportedSegmentDetails(); } long long QGeoRoutingManagerEngine_SupportedTravelModes(void* ptr) { return static_cast(ptr)->supportedTravelModes(); } void* QGeoRoutingManagerEngine_Locale(void* ptr) { return new QLocale(static_cast(ptr)->locale()); } long long QGeoRoutingManagerEngine_MeasurementSystem(void* ptr) { return static_cast(ptr)->measurementSystem(); } struct QtLocation_PackedString QGeoRoutingManagerEngine_ManagerName(void* ptr) { return ({ QByteArray tce87b5 = static_cast(ptr)->managerName().toUtf8(); QtLocation_PackedString { const_cast(tce87b5.prepend("WHITESPACE").constData()+10), tce87b5.size()-10 }; }); } int QGeoRoutingManagerEngine_ManagerVersion(void* ptr) { return static_cast(ptr)->managerVersion(); } void* QGeoRoutingManagerEngine___QGeoRoutingManagerEngine_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoRoutingManagerEngine___QGeoRoutingManagerEngine_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoRoutingManagerEngine___QGeoRoutingManagerEngine_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoRoutingManagerEngine___QGeoRoutingManagerEngine_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } struct QtLocation_PackedString QGeoRoutingManagerEngine_____QGeoRoutingManagerEngine_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoRoutingManagerEngine_____QGeoRoutingManagerEngine_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoRoutingManagerEngine_____QGeoRoutingManagerEngine_keyList_newList(void* ptr) { return new QList; } void* QGeoRoutingManagerEngine___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(static_cast*>(ptr)->at(i)); } void QGeoRoutingManagerEngine___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoRoutingManagerEngine___dynamicPropertyNames_newList(void* ptr) { return new QList; } void* QGeoRoutingManagerEngine___findChildren_atList2(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManagerEngine___findChildren_setList2(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManagerEngine___findChildren_newList2(void* ptr) { return new QList; } void* QGeoRoutingManagerEngine___findChildren_atList3(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManagerEngine___findChildren_setList3(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManagerEngine___findChildren_newList3(void* ptr) { return new QList; } void* QGeoRoutingManagerEngine___findChildren_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManagerEngine___findChildren_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManagerEngine___findChildren_newList(void* ptr) { return new QList; } void* QGeoRoutingManagerEngine___children_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoRoutingManagerEngine___children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoRoutingManagerEngine___children_newList(void* ptr) { return new QList; } char QGeoRoutingManagerEngine_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QGeoRoutingManagerEngine::event(static_cast(e)); } char QGeoRoutingManagerEngine_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QGeoRoutingManagerEngine::eventFilter(static_cast(watched), static_cast(event)); } void QGeoRoutingManagerEngine_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRoutingManagerEngine::childEvent(static_cast(event)); } void QGeoRoutingManagerEngine_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoRoutingManagerEngine::connectNotify(*static_cast(sign)); } void QGeoRoutingManagerEngine_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRoutingManagerEngine::customEvent(static_cast(event)); } void QGeoRoutingManagerEngine_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGeoRoutingManagerEngine::deleteLater(); } void QGeoRoutingManagerEngine_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoRoutingManagerEngine::disconnectNotify(*static_cast(sign)); } void QGeoRoutingManagerEngine_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoRoutingManagerEngine::timerEvent(static_cast(event)); } void* QGeoRoutingManagerEngine_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGeoRoutingManagerEngine::metaObject()); } class MyQGeoServiceProvider: public QGeoServiceProvider { public: MyQGeoServiceProvider(const QString &providerName, const QVariantMap ¶meters = QVariantMap(), bool allowExperimental = false) : QGeoServiceProvider(providerName, parameters, allowExperimental) {}; bool event(QEvent * e) { return callbackQGeoServiceProvider_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGeoServiceProvider_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQGeoServiceProvider_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGeoServiceProvider_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGeoServiceProvider_CustomEvent(this, event); }; void deleteLater() { callbackQGeoServiceProvider_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGeoServiceProvider_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGeoServiceProvider_DisconnectNotify(this, const_cast(&sign)); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); QtLocation_PackedString objectNamePacked = { const_cast(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackQGeoServiceProvider_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGeoServiceProvider_TimerEvent(this, event); }; const QMetaObject * metaObject() const { return static_cast(callbackQGeoServiceProvider_MetaObject(const_cast(static_cast(this)))); }; }; int QGeoServiceProvider_OnlineGeocodingFeature_Type() { return QGeoServiceProvider::OnlineGeocodingFeature; } int QGeoServiceProvider_OfflineGeocodingFeature_Type() { return QGeoServiceProvider::OfflineGeocodingFeature; } int QGeoServiceProvider_ReverseGeocodingFeature_Type() { return QGeoServiceProvider::ReverseGeocodingFeature; } int QGeoServiceProvider_LocalizedGeocodingFeature_Type() { return QGeoServiceProvider::LocalizedGeocodingFeature; } int QGeoServiceProvider_AnyGeocodingFeatures_Type() { return QGeoServiceProvider::AnyGeocodingFeatures; } int QGeoServiceProvider_OnlineMappingFeature_Type() { return QGeoServiceProvider::OnlineMappingFeature; } int QGeoServiceProvider_OfflineMappingFeature_Type() { return QGeoServiceProvider::OfflineMappingFeature; } int QGeoServiceProvider_LocalizedMappingFeature_Type() { return QGeoServiceProvider::LocalizedMappingFeature; } int QGeoServiceProvider_AnyMappingFeatures_Type() { return QGeoServiceProvider::AnyMappingFeatures; } int QGeoServiceProvider_OnlinePlacesFeature_Type() { return QGeoServiceProvider::OnlinePlacesFeature; } int QGeoServiceProvider_OfflinePlacesFeature_Type() { return QGeoServiceProvider::OfflinePlacesFeature; } int QGeoServiceProvider_SavePlaceFeature_Type() { return QGeoServiceProvider::SavePlaceFeature; } int QGeoServiceProvider_RemovePlaceFeature_Type() { return QGeoServiceProvider::RemovePlaceFeature; } int QGeoServiceProvider_SaveCategoryFeature_Type() { return QGeoServiceProvider::SaveCategoryFeature; } int QGeoServiceProvider_RemoveCategoryFeature_Type() { return QGeoServiceProvider::RemoveCategoryFeature; } int QGeoServiceProvider_PlaceRecommendationsFeature_Type() { return QGeoServiceProvider::PlaceRecommendationsFeature; } int QGeoServiceProvider_SearchSuggestionsFeature_Type() { return QGeoServiceProvider::SearchSuggestionsFeature; } int QGeoServiceProvider_LocalizedPlacesFeature_Type() { return QGeoServiceProvider::LocalizedPlacesFeature; } int QGeoServiceProvider_NotificationsFeature_Type() { return QGeoServiceProvider::NotificationsFeature; } int QGeoServiceProvider_PlaceMatchingFeature_Type() { return QGeoServiceProvider::PlaceMatchingFeature; } int QGeoServiceProvider_AnyPlacesFeatures_Type() { return QGeoServiceProvider::AnyPlacesFeatures; } int QGeoServiceProvider_OnlineRoutingFeature_Type() { return QGeoServiceProvider::OnlineRoutingFeature; } int QGeoServiceProvider_OfflineRoutingFeature_Type() { return QGeoServiceProvider::OfflineRoutingFeature; } int QGeoServiceProvider_LocalizedRoutingFeature_Type() { return QGeoServiceProvider::LocalizedRoutingFeature; } int QGeoServiceProvider_RouteUpdatesFeature_Type() { return QGeoServiceProvider::RouteUpdatesFeature; } int QGeoServiceProvider_AlternativeRoutesFeature_Type() { return QGeoServiceProvider::AlternativeRoutesFeature; } int QGeoServiceProvider_ExcludeAreasRoutingFeature_Type() { return QGeoServiceProvider::ExcludeAreasRoutingFeature; } int QGeoServiceProvider_AnyRoutingFeatures_Type() { return QGeoServiceProvider::AnyRoutingFeatures; } void* QGeoServiceProvider_NewQGeoServiceProvider(char* providerName, void* parameters, char allowExperimental) { return new MyQGeoServiceProvider(QString(providerName), *static_cast*>(parameters), allowExperimental != 0); } struct QtLocation_PackedString QGeoServiceProvider_QGeoServiceProvider_AvailableServiceProviders() { return ({ QByteArray teec3ca = QGeoServiceProvider::availableServiceProviders().join("|").toUtf8(); QtLocation_PackedString { const_cast(teec3ca.prepend("WHITESPACE").constData()+10), teec3ca.size()-10 }; }); } void QGeoServiceProvider_SetAllowExperimental(void* ptr, char allow) { static_cast(ptr)->setAllowExperimental(allow != 0); } void QGeoServiceProvider_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } void QGeoServiceProvider_SetParameters(void* ptr, void* parameters) { static_cast(ptr)->setParameters(*static_cast*>(parameters)); } void QGeoServiceProvider_DestroyQGeoServiceProvider(void* ptr) { static_cast(ptr)->~QGeoServiceProvider(); } long long QGeoServiceProvider_Error(void* ptr) { return static_cast(ptr)->error(); } long long QGeoServiceProvider_GeocodingFeatures(void* ptr) { return static_cast(ptr)->geocodingFeatures(); } long long QGeoServiceProvider_MappingFeatures(void* ptr) { return static_cast(ptr)->mappingFeatures(); } long long QGeoServiceProvider_PlacesFeatures(void* ptr) { return static_cast(ptr)->placesFeatures(); } void* QGeoServiceProvider_GeocodingManager(void* ptr) { return static_cast(ptr)->geocodingManager(); } void* QGeoServiceProvider_RoutingManager(void* ptr) { return static_cast(ptr)->routingManager(); } void* QGeoServiceProvider_PlaceManager(void* ptr) { return static_cast(ptr)->placeManager(); } struct QtLocation_PackedString QGeoServiceProvider_ErrorString(void* ptr) { return ({ QByteArray t90b712 = static_cast(ptr)->errorString().toUtf8(); QtLocation_PackedString { const_cast(t90b712.prepend("WHITESPACE").constData()+10), t90b712.size()-10 }; }); } long long QGeoServiceProvider_RoutingFeatures(void* ptr) { return static_cast(ptr)->routingFeatures(); } void* QGeoServiceProvider___QGeoServiceProvider_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoServiceProvider___QGeoServiceProvider_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoServiceProvider___QGeoServiceProvider_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoServiceProvider___QGeoServiceProvider_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } void* QGeoServiceProvider___setParameters_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoServiceProvider___setParameters_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoServiceProvider___setParameters_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoServiceProvider___setParameters_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } struct QtLocation_PackedString QGeoServiceProvider_____QGeoServiceProvider_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoServiceProvider_____QGeoServiceProvider_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoServiceProvider_____QGeoServiceProvider_keyList_newList(void* ptr) { return new QList; } struct QtLocation_PackedString QGeoServiceProvider_____setParameters_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoServiceProvider_____setParameters_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoServiceProvider_____setParameters_keyList_newList(void* ptr) { return new QList; } void* QGeoServiceProvider___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(static_cast*>(ptr)->at(i)); } void QGeoServiceProvider___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGeoServiceProvider___dynamicPropertyNames_newList(void* ptr) { return new QList; } void* QGeoServiceProvider___findChildren_atList2(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoServiceProvider___findChildren_setList2(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoServiceProvider___findChildren_newList2(void* ptr) { return new QList; } void* QGeoServiceProvider___findChildren_atList3(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoServiceProvider___findChildren_setList3(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoServiceProvider___findChildren_newList3(void* ptr) { return new QList; } void* QGeoServiceProvider___findChildren_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoServiceProvider___findChildren_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoServiceProvider___findChildren_newList(void* ptr) { return new QList; } void* QGeoServiceProvider___children_atList(void* ptr, int i) { return const_cast(static_cast*>(ptr)->at(i)); } void QGeoServiceProvider___children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGeoServiceProvider___children_newList(void* ptr) { return new QList; } char QGeoServiceProvider_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QGeoServiceProvider::event(static_cast(e)); } char QGeoServiceProvider_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QGeoServiceProvider::eventFilter(static_cast(watched), static_cast(event)); } void QGeoServiceProvider_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoServiceProvider::childEvent(static_cast(event)); } void QGeoServiceProvider_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoServiceProvider::connectNotify(*static_cast(sign)); } void QGeoServiceProvider_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoServiceProvider::customEvent(static_cast(event)); } void QGeoServiceProvider_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGeoServiceProvider::deleteLater(); } void QGeoServiceProvider_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGeoServiceProvider::disconnectNotify(*static_cast(sign)); } void QGeoServiceProvider_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGeoServiceProvider::timerEvent(static_cast(event)); } void* QGeoServiceProvider_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGeoServiceProvider::metaObject()); } class MyQGeoServiceProviderFactory: public QGeoServiceProviderFactory { public: ~MyQGeoServiceProviderFactory() { callbackQGeoServiceProviderFactory_DestroyQGeoServiceProviderFactory(this); }; }; void QGeoServiceProviderFactory_DestroyQGeoServiceProviderFactory(void* ptr) { static_cast(ptr)->~QGeoServiceProviderFactory(); } void QGeoServiceProviderFactory_DestroyQGeoServiceProviderFactoryDefault(void* ptr) { } void* QGeoServiceProviderFactory___createGeocodingManagerEngine_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoServiceProviderFactory___createGeocodingManagerEngine_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoServiceProviderFactory___createGeocodingManagerEngine_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoServiceProviderFactory___createGeocodingManagerEngine_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } void* QGeoServiceProviderFactory___createMappingManagerEngine_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoServiceProviderFactory___createMappingManagerEngine_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoServiceProviderFactory___createMappingManagerEngine_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoServiceProviderFactory___createMappingManagerEngine_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } void* QGeoServiceProviderFactory___createRoutingManagerEngine_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoServiceProviderFactory___createRoutingManagerEngine_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoServiceProviderFactory___createRoutingManagerEngine_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoServiceProviderFactory___createRoutingManagerEngine_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } void* QGeoServiceProviderFactory___createPlaceManagerEngine_parameters_atList(void* ptr, char* i) { return new QVariant(static_cast*>(ptr)->value(QString(i))); } void QGeoServiceProviderFactory___createPlaceManagerEngine_parameters_setList(void* ptr, char* key, void* i) { static_cast*>(ptr)->insert(QString(key), *static_cast(i)); } void* QGeoServiceProviderFactory___createPlaceManagerEngine_parameters_newList(void* ptr) { return new QMap; } struct QtLocation_PackedList QGeoServiceProviderFactory___createPlaceManagerEngine_keyList(void* ptr) { return ({ QList* tmpValue = new QList(static_cast*>(ptr)->keys()); QtLocation_PackedList { tmpValue, tmpValue->size() }; }); } struct QtLocation_PackedString QGeoServiceProviderFactory_____createGeocodingManagerEngine_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoServiceProviderFactory_____createGeocodingManagerEngine_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoServiceProviderFactory_____createGeocodingManagerEngine_keyList_newList(void* ptr) { return new QList; } struct QtLocation_PackedString QGeoServiceProviderFactory_____createMappingManagerEngine_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoServiceProviderFactory_____createMappingManagerEngine_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoServiceProviderFactory_____createMappingManagerEngine_keyList_newList(void* ptr) { return new QList; } struct QtLocation_PackedString QGeoServiceProviderFactory_____createRoutingManagerEngine_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoServiceProviderFactory_____createRoutingManagerEngine_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoServiceProviderFactory_____createRoutingManagerEngine_keyList_newList(void* ptr) { return new QList; } struct QtLocation_PackedString QGeoServiceProviderFactory_____createPlaceManagerEngine_keyList_atList(void* ptr, int i) { return ({ QByteArray t29def6 = static_cast*>(ptr)->at(i).toUtf8(); QtLocation_PackedString { const_cast(t29def6.prepend("WHITESPACE").constData()+10), t29def6.size()-10 }; }); } void QGeoServiceProviderFactory_____createPlaceManagerEngine_keyList_setList(void* ptr, char* i) { static_cast*>(ptr)->append(QString(i)); } void* QGeoServiceProviderFactory_____createPlaceManagerEngine_keyList_newList(void* ptr) { return new QList; }