geoclue_position_error.h 730 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef __GEOCLUE_POSITION_ERROR_H__
#define __GEOCLUE_POSITION_ERROR_H__



#define GEOCLUE_POSITION_ERROR geoclue_position_error_quark ()

GQuark geoclue_position_error_quark (void);

/* Error codes for position backends */
typedef enum
{
  GEOCLUE_POSITION_ERROR_NOSERVICE,     /* Backend cannot connect to needed service */
  GEOCLUE_POSITION_ERROR_MALFORMEDDATA, /* Received data, but it is unreadable */
  GEOCLUE_POSITION_ERROR_NODATA,        /* Used service cannot provide position data at this time*/
  GEOCLUE_POSITION_ERROR_NOTSUPPORTED,  /* Backend does not implement this method */
  GEOCLUE_POSITION_ERROR_FAILED         /* generic fatal error */
} GeocluePositionError;



#endif /* __GEOCLUE_POSITION_ERROR_H__ */