#include "positioning.h" #include "_cgo_export.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include void* QGeoAddress_NewQGeoAddress(){ return new QGeoAddress(); } void* QGeoAddress_NewQGeoAddress2(void* other){ return new QGeoAddress(*static_cast(other)); } char* QGeoAddress_City(void* ptr){ return static_cast(ptr)->city().toUtf8().data(); } void QGeoAddress_Clear(void* ptr){ static_cast(ptr)->clear(); } char* QGeoAddress_Country(void* ptr){ return static_cast(ptr)->country().toUtf8().data(); } char* QGeoAddress_CountryCode(void* ptr){ return static_cast(ptr)->countryCode().toUtf8().data(); } char* QGeoAddress_County(void* ptr){ return static_cast(ptr)->county().toUtf8().data(); } char* QGeoAddress_District(void* ptr){ return static_cast(ptr)->district().toUtf8().data(); } int QGeoAddress_IsEmpty(void* ptr){ return static_cast(ptr)->isEmpty(); } int QGeoAddress_IsTextGenerated(void* ptr){ return static_cast(ptr)->isTextGenerated(); } char* QGeoAddress_PostalCode(void* ptr){ return static_cast(ptr)->postalCode().toUtf8().data(); } void QGeoAddress_SetCity(void* ptr, char* city){ static_cast(ptr)->setCity(QString(city)); } void QGeoAddress_SetCountry(void* ptr, char* country){ static_cast(ptr)->setCountry(QString(country)); } void QGeoAddress_SetCountryCode(void* ptr, char* countryCode){ static_cast(ptr)->setCountryCode(QString(countryCode)); } void QGeoAddress_SetCounty(void* ptr, char* county){ static_cast(ptr)->setCounty(QString(county)); } void QGeoAddress_SetDistrict(void* ptr, char* district){ static_cast(ptr)->setDistrict(QString(district)); } void QGeoAddress_SetPostalCode(void* ptr, char* postalCode){ static_cast(ptr)->setPostalCode(QString(postalCode)); } void QGeoAddress_SetState(void* ptr, char* state){ static_cast(ptr)->setState(QString(state)); } void QGeoAddress_SetStreet(void* ptr, char* street){ static_cast(ptr)->setStreet(QString(street)); } void QGeoAddress_SetText(void* ptr, char* text){ static_cast(ptr)->setText(QString(text)); } char* QGeoAddress_Street(void* ptr){ return static_cast(ptr)->street().toUtf8().data(); } char* QGeoAddress_Text(void* ptr){ return static_cast(ptr)->text().toUtf8().data(); } void QGeoAddress_DestroyQGeoAddress(void* ptr){ static_cast(ptr)->~QGeoAddress(); } void* QGeoAreaMonitorInfo_NewQGeoAreaMonitorInfo2(void* other){ return new QGeoAreaMonitorInfo(*static_cast(other)); } void* QGeoAreaMonitorInfo_NewQGeoAreaMonitorInfo(char* name){ return new QGeoAreaMonitorInfo(QString(name)); } void* QGeoAreaMonitorInfo_Expiration(void* ptr){ return new QDateTime(static_cast(ptr)->expiration()); } char* QGeoAreaMonitorInfo_Identifier(void* ptr){ return static_cast(ptr)->identifier().toUtf8().data(); } int QGeoAreaMonitorInfo_IsPersistent(void* ptr){ return static_cast(ptr)->isPersistent(); } int QGeoAreaMonitorInfo_IsValid(void* ptr){ return static_cast(ptr)->isValid(); } char* QGeoAreaMonitorInfo_Name(void* ptr){ return static_cast(ptr)->name().toUtf8().data(); } void QGeoAreaMonitorInfo_SetArea(void* ptr, void* newShape){ static_cast(ptr)->setArea(*static_cast(newShape)); } void QGeoAreaMonitorInfo_SetExpiration(void* ptr, void* expiry){ static_cast(ptr)->setExpiration(*static_cast(expiry)); } void QGeoAreaMonitorInfo_SetName(void* ptr, char* name){ static_cast(ptr)->setName(QString(name)); } void QGeoAreaMonitorInfo_SetPersistent(void* ptr, int isPersistent){ static_cast(ptr)->setPersistent(isPersistent != 0); } void QGeoAreaMonitorInfo_DestroyQGeoAreaMonitorInfo(void* ptr){ static_cast(ptr)->~QGeoAreaMonitorInfo(); } class MyQGeoAreaMonitorSource: public QGeoAreaMonitorSource { public: void setPositionInfoSource(QGeoPositionInfoSource * newSource) { if (!callbackQGeoAreaMonitorSourceSetPositionInfoSource(this->objectName().toUtf8().data(), newSource)) { QGeoAreaMonitorSource::setPositionInfoSource(newSource); }; }; protected: }; char* QGeoAreaMonitorSource_QGeoAreaMonitorSource_AvailableSources(){ return QGeoAreaMonitorSource::availableSources().join(",,,").toUtf8().data(); } void* QGeoAreaMonitorSource_QGeoAreaMonitorSource_CreateDefaultSource(void* parent){ return QGeoAreaMonitorSource::createDefaultSource(static_cast(parent)); } void* QGeoAreaMonitorSource_QGeoAreaMonitorSource_CreateSource(char* sourceName, void* parent){ return QGeoAreaMonitorSource::createSource(QString(sourceName), static_cast(parent)); } int QGeoAreaMonitorSource_Error(void* ptr){ return static_cast(ptr)->error(); } void* QGeoAreaMonitorSource_PositionInfoSource(void* ptr){ return static_cast(ptr)->positionInfoSource(); } int QGeoAreaMonitorSource_RequestUpdate(void* ptr, void* monitor, char* signal){ return static_cast(ptr)->requestUpdate(*static_cast(monitor), const_cast(signal)); } void QGeoAreaMonitorSource_SetPositionInfoSource(void* ptr, void* newSource){ static_cast(ptr)->setPositionInfoSource(static_cast(newSource)); } char* QGeoAreaMonitorSource_SourceName(void* ptr){ return static_cast(ptr)->sourceName().toUtf8().data(); } int QGeoAreaMonitorSource_StartMonitoring(void* ptr, void* monitor){ return static_cast(ptr)->startMonitoring(*static_cast(monitor)); } int QGeoAreaMonitorSource_StopMonitoring(void* ptr, void* monitor){ return static_cast(ptr)->stopMonitoring(*static_cast(monitor)); } int QGeoAreaMonitorSource_SupportedAreaMonitorFeatures(void* ptr){ return static_cast(ptr)->supportedAreaMonitorFeatures(); } void QGeoAreaMonitorSource_DestroyQGeoAreaMonitorSource(void* ptr){ static_cast(ptr)->~QGeoAreaMonitorSource(); } void* QGeoCircle_NewQGeoCircle(){ return new QGeoCircle(); } void* QGeoCircle_NewQGeoCircle3(void* other){ return new QGeoCircle(*static_cast(other)); } void* QGeoCircle_NewQGeoCircle2(void* center, double radius){ return new QGeoCircle(*static_cast(center), static_cast(radius)); } void* QGeoCircle_NewQGeoCircle4(void* other){ return new QGeoCircle(*static_cast(other)); } double QGeoCircle_Radius(void* ptr){ return static_cast(static_cast(ptr)->radius()); } void QGeoCircle_SetCenter(void* ptr, void* center){ static_cast(ptr)->setCenter(*static_cast(center)); } void QGeoCircle_SetRadius(void* ptr, double radius){ static_cast(ptr)->setRadius(static_cast(radius)); } char* QGeoCircle_ToString(void* ptr){ return static_cast(ptr)->toString().toUtf8().data(); } void QGeoCircle_DestroyQGeoCircle(void* ptr){ static_cast(ptr)->~QGeoCircle(); } void* QGeoCoordinate_NewQGeoCoordinate(){ return new QGeoCoordinate(); } void* QGeoCoordinate_NewQGeoCoordinate4(void* other){ return new QGeoCoordinate(*static_cast(other)); } double QGeoCoordinate_AzimuthTo(void* ptr, void* other){ return static_cast(static_cast(ptr)->azimuthTo(*static_cast(other))); } double QGeoCoordinate_DistanceTo(void* ptr, void* other){ return static_cast(static_cast(ptr)->distanceTo(*static_cast(other))); } int QGeoCoordinate_IsValid(void* ptr){ return static_cast(ptr)->isValid(); } char* QGeoCoordinate_ToString(void* ptr, int format){ return static_cast(ptr)->toString(static_cast(format)).toUtf8().data(); } int QGeoCoordinate_Type(void* ptr){ return static_cast(ptr)->type(); } void QGeoCoordinate_DestroyQGeoCoordinate(void* ptr){ static_cast(ptr)->~QGeoCoordinate(); } void* QGeoPositionInfo_NewQGeoPositionInfo(){ return new QGeoPositionInfo(); } void* QGeoPositionInfo_NewQGeoPositionInfo2(void* coordinate, void* timestamp){ return new QGeoPositionInfo(*static_cast(coordinate), *static_cast(timestamp)); } void* QGeoPositionInfo_NewQGeoPositionInfo3(void* other){ return new QGeoPositionInfo(*static_cast(other)); } double QGeoPositionInfo_Attribute(void* ptr, int attribute){ return static_cast(static_cast(ptr)->attribute(static_cast(attribute))); } int QGeoPositionInfo_HasAttribute(void* ptr, int attribute){ return static_cast(ptr)->hasAttribute(static_cast(attribute)); } int QGeoPositionInfo_IsValid(void* ptr){ return static_cast(ptr)->isValid(); } void QGeoPositionInfo_RemoveAttribute(void* ptr, int attribute){ static_cast(ptr)->removeAttribute(static_cast(attribute)); } void QGeoPositionInfo_SetAttribute(void* ptr, int attribute, double value){ static_cast(ptr)->setAttribute(static_cast(attribute), static_cast(value)); } void QGeoPositionInfo_SetCoordinate(void* ptr, void* coordinate){ static_cast(ptr)->setCoordinate(*static_cast(coordinate)); } void QGeoPositionInfo_SetTimestamp(void* ptr, void* timestamp){ static_cast(ptr)->setTimestamp(*static_cast(timestamp)); } void* QGeoPositionInfo_Timestamp(void* ptr){ return new QDateTime(static_cast(ptr)->timestamp()); } void QGeoPositionInfo_DestroyQGeoPositionInfo(void* ptr){ static_cast(ptr)->~QGeoPositionInfo(); } class MyQGeoPositionInfoSource: public QGeoPositionInfoSource { public: void setUpdateInterval(int msec) { if (!callbackQGeoPositionInfoSourceSetUpdateInterval(this->objectName().toUtf8().data(), msec)) { QGeoPositionInfoSource::setUpdateInterval(msec); }; }; void setPreferredPositioningMethods(QGeoPositionInfoSource::PositioningMethods methods) { if (!callbackQGeoPositionInfoSourceSetPreferredPositioningMethods(this->objectName().toUtf8().data(), methods)) { QGeoPositionInfoSource::setPreferredPositioningMethods(methods); }; }; void Signal_UpdateTimeout() { callbackQGeoPositionInfoSourceUpdateTimeout(this->objectName().toUtf8().data()); }; protected: }; void QGeoPositionInfoSource_SetUpdateInterval(void* ptr, int msec){ static_cast(ptr)->setUpdateInterval(msec); } char* QGeoPositionInfoSource_SourceName(void* ptr){ return static_cast(ptr)->sourceName().toUtf8().data(); } int QGeoPositionInfoSource_UpdateInterval(void* ptr){ return static_cast(ptr)->updateInterval(); } char* QGeoPositionInfoSource_QGeoPositionInfoSource_AvailableSources(){ return QGeoPositionInfoSource::availableSources().join(",,,").toUtf8().data(); } void* QGeoPositionInfoSource_QGeoPositionInfoSource_CreateDefaultSource(void* parent){ return QGeoPositionInfoSource::createDefaultSource(static_cast(parent)); } void* QGeoPositionInfoSource_QGeoPositionInfoSource_CreateSource(char* sourceName, void* parent){ return QGeoPositionInfoSource::createSource(QString(sourceName), static_cast(parent)); } int QGeoPositionInfoSource_Error(void* ptr){ return static_cast(ptr)->error(); } int QGeoPositionInfoSource_MinimumUpdateInterval(void* ptr){ return static_cast(ptr)->minimumUpdateInterval(); } int QGeoPositionInfoSource_PreferredPositioningMethods(void* ptr){ return static_cast(ptr)->preferredPositioningMethods(); } void QGeoPositionInfoSource_RequestUpdate(void* ptr, int timeout){ QMetaObject::invokeMethod(static_cast(ptr), "requestUpdate", Q_ARG(int, timeout)); } void QGeoPositionInfoSource_SetPreferredPositioningMethods(void* ptr, int methods){ static_cast(ptr)->setPreferredPositioningMethods(static_cast(methods)); } void QGeoPositionInfoSource_StartUpdates(void* ptr){ QMetaObject::invokeMethod(static_cast(ptr), "startUpdates"); } void QGeoPositionInfoSource_StopUpdates(void* ptr){ QMetaObject::invokeMethod(static_cast(ptr), "stopUpdates"); } int QGeoPositionInfoSource_SupportedPositioningMethods(void* ptr){ return static_cast(ptr)->supportedPositioningMethods(); } void QGeoPositionInfoSource_ConnectUpdateTimeout(void* ptr){ QObject::connect(static_cast(ptr), static_cast(&QGeoPositionInfoSource::updateTimeout), static_cast(ptr), static_cast(&MyQGeoPositionInfoSource::Signal_UpdateTimeout));; } void QGeoPositionInfoSource_DisconnectUpdateTimeout(void* ptr){ QObject::disconnect(static_cast(ptr), static_cast(&QGeoPositionInfoSource::updateTimeout), static_cast(ptr), static_cast(&MyQGeoPositionInfoSource::Signal_UpdateTimeout));; } void QGeoPositionInfoSource_DestroyQGeoPositionInfoSource(void* ptr){ static_cast(ptr)->~QGeoPositionInfoSource(); } class MyQGeoPositionInfoSourceFactory: public QGeoPositionInfoSourceFactory { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; protected: }; void* QGeoPositionInfoSourceFactory_AreaMonitor(void* ptr, void* parent){ return static_cast(ptr)->areaMonitor(static_cast(parent)); } void* QGeoPositionInfoSourceFactory_PositionInfoSource(void* ptr, void* parent){ return static_cast(ptr)->positionInfoSource(static_cast(parent)); } void* QGeoPositionInfoSourceFactory_SatelliteInfoSource(void* ptr, void* parent){ return static_cast(ptr)->satelliteInfoSource(static_cast(parent)); } void QGeoPositionInfoSourceFactory_DestroyQGeoPositionInfoSourceFactory(void* ptr){ static_cast(ptr)->~QGeoPositionInfoSourceFactory(); } char* QGeoPositionInfoSourceFactory_ObjectNameAbs(void* ptr){ return static_cast(ptr)->objectNameAbs().toUtf8().data(); } void QGeoPositionInfoSourceFactory_SetObjectNameAbs(void* ptr, char* name){ static_cast(ptr)->setObjectNameAbs(QString(name)); } void* QGeoRectangle_NewQGeoRectangle(){ return new QGeoRectangle(); } void* QGeoRectangle_NewQGeoRectangle3(void* topLeft, void* bottomRight){ return new QGeoRectangle(*static_cast(topLeft), *static_cast(bottomRight)); } void* QGeoRectangle_NewQGeoRectangle5(void* other){ return new QGeoRectangle(*static_cast(other)); } void* QGeoRectangle_NewQGeoRectangle6(void* other){ return new QGeoRectangle(*static_cast(other)); } int QGeoRectangle_Contains(void* ptr, void* rectangle){ return static_cast(ptr)->contains(*static_cast(rectangle)); } int QGeoRectangle_Intersects(void* ptr, void* rectangle){ return static_cast(ptr)->intersects(*static_cast(rectangle)); } void QGeoRectangle_SetBottomLeft(void* ptr, void* bottomLeft){ static_cast(ptr)->setBottomLeft(*static_cast(bottomLeft)); } void QGeoRectangle_SetBottomRight(void* ptr, void* bottomRight){ static_cast(ptr)->setBottomRight(*static_cast(bottomRight)); } void QGeoRectangle_SetCenter(void* ptr, void* center){ static_cast(ptr)->setCenter(*static_cast(center)); } void QGeoRectangle_SetTopLeft(void* ptr, void* topLeft){ static_cast(ptr)->setTopLeft(*static_cast(topLeft)); } void QGeoRectangle_SetTopRight(void* ptr, void* topRight){ static_cast(ptr)->setTopRight(*static_cast(topRight)); } char* QGeoRectangle_ToString(void* ptr){ return static_cast(ptr)->toString().toUtf8().data(); } void QGeoRectangle_DestroyQGeoRectangle(void* ptr){ static_cast(ptr)->~QGeoRectangle(); } void* QGeoSatelliteInfo_NewQGeoSatelliteInfo(){ return new QGeoSatelliteInfo(); } void* QGeoSatelliteInfo_NewQGeoSatelliteInfo2(void* other){ return new QGeoSatelliteInfo(*static_cast(other)); } double QGeoSatelliteInfo_Attribute(void* ptr, int attribute){ return static_cast(static_cast(ptr)->attribute(static_cast(attribute))); } int QGeoSatelliteInfo_HasAttribute(void* ptr, int attribute){ return static_cast(ptr)->hasAttribute(static_cast(attribute)); } void QGeoSatelliteInfo_RemoveAttribute(void* ptr, int attribute){ static_cast(ptr)->removeAttribute(static_cast(attribute)); } int QGeoSatelliteInfo_SatelliteIdentifier(void* ptr){ return static_cast(ptr)->satelliteIdentifier(); } int QGeoSatelliteInfo_SatelliteSystem(void* ptr){ return static_cast(ptr)->satelliteSystem(); } void QGeoSatelliteInfo_SetAttribute(void* ptr, int attribute, double value){ static_cast(ptr)->setAttribute(static_cast(attribute), static_cast(value)); } void QGeoSatelliteInfo_SetSatelliteIdentifier(void* ptr, int satId){ static_cast(ptr)->setSatelliteIdentifier(satId); } void QGeoSatelliteInfo_SetSatelliteSystem(void* ptr, int system){ static_cast(ptr)->setSatelliteSystem(static_cast(system)); } void QGeoSatelliteInfo_SetSignalStrength(void* ptr, int signalStrength){ static_cast(ptr)->setSignalStrength(signalStrength); } int QGeoSatelliteInfo_SignalStrength(void* ptr){ return static_cast(ptr)->signalStrength(); } void QGeoSatelliteInfo_DestroyQGeoSatelliteInfo(void* ptr){ static_cast(ptr)->~QGeoSatelliteInfo(); } class MyQGeoSatelliteInfoSource: public QGeoSatelliteInfoSource { public: void setUpdateInterval(int msec) { if (!callbackQGeoSatelliteInfoSourceSetUpdateInterval(this->objectName().toUtf8().data(), msec)) { QGeoSatelliteInfoSource::setUpdateInterval(msec); }; }; void Signal_RequestTimeout() { callbackQGeoSatelliteInfoSourceRequestTimeout(this->objectName().toUtf8().data()); }; protected: }; void QGeoSatelliteInfoSource_SetUpdateInterval(void* ptr, int msec){ static_cast(ptr)->setUpdateInterval(msec); } int QGeoSatelliteInfoSource_UpdateInterval(void* ptr){ return static_cast(ptr)->updateInterval(); } char* QGeoSatelliteInfoSource_QGeoSatelliteInfoSource_AvailableSources(){ return QGeoSatelliteInfoSource::availableSources().join(",,,").toUtf8().data(); } void* QGeoSatelliteInfoSource_QGeoSatelliteInfoSource_CreateDefaultSource(void* parent){ return QGeoSatelliteInfoSource::createDefaultSource(static_cast(parent)); } void* QGeoSatelliteInfoSource_QGeoSatelliteInfoSource_CreateSource(char* sourceName, void* parent){ return QGeoSatelliteInfoSource::createSource(QString(sourceName), static_cast(parent)); } int QGeoSatelliteInfoSource_Error(void* ptr){ return static_cast(ptr)->error(); } int QGeoSatelliteInfoSource_MinimumUpdateInterval(void* ptr){ return static_cast(ptr)->minimumUpdateInterval(); } void QGeoSatelliteInfoSource_ConnectRequestTimeout(void* ptr){ QObject::connect(static_cast(ptr), static_cast(&QGeoSatelliteInfoSource::requestTimeout), static_cast(ptr), static_cast(&MyQGeoSatelliteInfoSource::Signal_RequestTimeout));; } void QGeoSatelliteInfoSource_DisconnectRequestTimeout(void* ptr){ QObject::disconnect(static_cast(ptr), static_cast(&QGeoSatelliteInfoSource::requestTimeout), static_cast(ptr), static_cast(&MyQGeoSatelliteInfoSource::Signal_RequestTimeout));; } void QGeoSatelliteInfoSource_RequestUpdate(void* ptr, int timeout){ QMetaObject::invokeMethod(static_cast(ptr), "requestUpdate", Q_ARG(int, timeout)); } char* QGeoSatelliteInfoSource_SourceName(void* ptr){ return static_cast(ptr)->sourceName().toUtf8().data(); } void QGeoSatelliteInfoSource_StartUpdates(void* ptr){ QMetaObject::invokeMethod(static_cast(ptr), "startUpdates"); } void QGeoSatelliteInfoSource_StopUpdates(void* ptr){ QMetaObject::invokeMethod(static_cast(ptr), "stopUpdates"); } void QGeoSatelliteInfoSource_DestroyQGeoSatelliteInfoSource(void* ptr){ static_cast(ptr)->~QGeoSatelliteInfoSource(); } void* QGeoShape_NewQGeoShape(){ return new QGeoShape(); } void* QGeoShape_NewQGeoShape2(void* other){ return new QGeoShape(*static_cast(other)); } int QGeoShape_Contains(void* ptr, void* coordinate){ return static_cast(ptr)->contains(*static_cast(coordinate)); } void QGeoShape_ExtendShape(void* ptr, void* coordinate){ static_cast(ptr)->extendShape(*static_cast(coordinate)); } int QGeoShape_IsEmpty(void* ptr){ return static_cast(ptr)->isEmpty(); } int QGeoShape_IsValid(void* ptr){ return static_cast(ptr)->isValid(); } char* QGeoShape_ToString(void* ptr){ return static_cast(ptr)->toString().toUtf8().data(); } int QGeoShape_Type(void* ptr){ return static_cast(ptr)->type(); } void QGeoShape_DestroyQGeoShape(void* ptr){ static_cast(ptr)->~QGeoShape(); } class MyQNmeaPositionInfoSource: public QNmeaPositionInfoSource { public: MyQNmeaPositionInfoSource(UpdateMode updateMode, QObject *parent) : QNmeaPositionInfoSource(updateMode, parent) {}; void requestUpdate(int msec) { if (!callbackQNmeaPositionInfoSourceRequestUpdate(this->objectName().toUtf8().data(), msec)) { QNmeaPositionInfoSource::requestUpdate(msec); }; }; void setUpdateInterval(int msec) { if (!callbackQNmeaPositionInfoSourceSetUpdateInterval(this->objectName().toUtf8().data(), msec)) { QNmeaPositionInfoSource::setUpdateInterval(msec); }; }; void startUpdates() { if (!callbackQNmeaPositionInfoSourceStartUpdates(this->objectName().toUtf8().data())) { QNmeaPositionInfoSource::startUpdates(); }; }; void stopUpdates() { if (!callbackQNmeaPositionInfoSourceStopUpdates(this->objectName().toUtf8().data())) { QNmeaPositionInfoSource::stopUpdates(); }; }; protected: }; void* QNmeaPositionInfoSource_NewQNmeaPositionInfoSource(int updateMode, void* parent){ return new MyQNmeaPositionInfoSource(static_cast(updateMode), static_cast(parent)); } void* QNmeaPositionInfoSource_Device(void* ptr){ return static_cast(ptr)->device(); } int QNmeaPositionInfoSource_Error(void* ptr){ return static_cast(ptr)->error(); } int QNmeaPositionInfoSource_MinimumUpdateInterval(void* ptr){ return static_cast(ptr)->minimumUpdateInterval(); } void QNmeaPositionInfoSource_RequestUpdate(void* ptr, int msec){ QMetaObject::invokeMethod(static_cast(ptr), "requestUpdate", Q_ARG(int, msec)); } void QNmeaPositionInfoSource_SetDevice(void* ptr, void* device){ static_cast(ptr)->setDevice(static_cast(device)); } void QNmeaPositionInfoSource_SetUpdateInterval(void* ptr, int msec){ static_cast(ptr)->setUpdateInterval(msec); } void QNmeaPositionInfoSource_StartUpdates(void* ptr){ QMetaObject::invokeMethod(static_cast(ptr), "startUpdates"); } void QNmeaPositionInfoSource_StopUpdates(void* ptr){ QMetaObject::invokeMethod(static_cast(ptr), "stopUpdates"); } int QNmeaPositionInfoSource_SupportedPositioningMethods(void* ptr){ return static_cast(ptr)->supportedPositioningMethods(); } int QNmeaPositionInfoSource_UpdateMode(void* ptr){ return static_cast(ptr)->updateMode(); } void QNmeaPositionInfoSource_DestroyQNmeaPositionInfoSource(void* ptr){ static_cast(ptr)->~QNmeaPositionInfoSource(); }