18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_STATE_H_ 19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_STATE_H_ 23 namespace com {
namespace ubuntu {
namespace location {
namespace service
43 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_STATE_H_ State
State enumerates the known states of the service.
The service has been disabled by the user.
The service is enabled but not actively carrying out positioning.
std::ostream & operator<<(std::ostream &out, State state)
operator<< inserts state into the out.
bool operator!=(State lhs, State rhs)
operator != returns true if !(lhs == rhs).
std::istream & operator>>(std::istream &in, State &state)
operator>> extracts state from in.
The service is actively trying to determine the position of the device.
bool operator==(State lhs, State rhs)
operator== returns true if lhs == rhs.