Compilations fixes.

This commit is contained in:
vng 2012-11-13 18:53:37 +03:00 committed by Alex Zolotarev
parent 8bd5e4920b
commit a459bc474a
2 changed files with 7 additions and 4 deletions

View file

@ -28,8 +28,9 @@ public class LocationService implements LocationListener, SensorEventListener, W
/// These constants should correspond to values defined in platform/location.hpp
/// Leave 0-value as no any error.
public static final int ERROR_DENIED = 1;
public static final int ERROR_GPS_OFF = 2;
public static final int ERROR_NOT_SUPPORTED = 1;
public static final int ERROR_DENIED = 2;
public static final int ERROR_GPS_OFF = 3;
public interface Listener
{

View file

@ -6,11 +6,13 @@
namespace location
{
/// @note Do not change values of this constants.
enum TLocationError
{
ENoError = 0,
EDenied = 1,
EGPSIsOff = 2
ENotSupported,
EDenied,
EGPSIsOff
};
enum TLocationSource