GeoIp.cpp File Reference

#include "GeoIp.h"
#include <QHash>
#include <QString>
#include <QHostAddress>
#include <QStringList>

Go to the source code of this file.

Defines

#define IS_VALID_LATITUDE(x)   (((x) >= -90.0) && ((x) <= 90.0))
#define IS_VALID_LONGITUDE(x)   (((x) >= -180.0) && ((x) <= 180.0))

Define Documentation

#define IS_VALID_LATITUDE (  )     (((x) >= -90.0) && ((x) <= 90.0))

Verifies a latitude is between -90.0 and 90.0 degrees.

Definition at line 22 of file GeoIp.cpp.

Referenced by GeoIp::isValid().

#define IS_VALID_LONGITUDE (  )     (((x) >= -180.0) && ((x) <= 180.0))

Verifies a longitude is between -180.0 and 180.0 degrees.

Definition at line 24 of file GeoIp.cpp.

Referenced by GeoIp::isValid().

Generated on Mon Aug 30 22:58:55 2010 for Vidalia by  doxygen 1.6.3