platform/shared/qt/rhodes/impl/GeoLocationImpl.cpp in rhodes-3.5.1.12 vs platform/shared/qt/rhodes/impl/GeoLocationImpl.cpp in rhodes-5.5.0

- old
+ new

@@ -23,10 +23,11 @@ * * http://rhomobile.com *------------------------------------------------------------------------*/ #include "rubyext/GeoLocation.h" +#include "ruby/ext/rho/rhoruby.h" extern "C" { double rho_geo_latitude() { @@ -70,8 +71,22 @@ int rho_geo_is_available() { //TODO: rho_geo_is_available return 0; +} + +double rho_geo_speed() { + //TODO: rho_geo_speed + return 0.0; +} + +int rho_geo_satellites() { + //TODO: rho_geo_satellites + return 0; +} + +void rho_geo_set_notification_ex(const char *url, rho_param* p, char* params) { + //TODO: rho_geo_set_notification_ex } } //extern "C"