geoip.cpp File Reference

Associates an IP with a geographic location. More...

#include <QStringList>
#include "geoip.h"

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))


Detailed Description

Associates an IP with a geographic location.

Version:
Id

Definition in file geoip.cpp.


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 33 of file geoip.cpp.

Referenced by GeoIp::isEmpty(), and GeoIp::isUnknown().

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

Verifies a longitude is between -180.0 and 180.0 degrees.

Definition at line 35 of file geoip.cpp.

Referenced by GeoIp::isEmpty(), and GeoIp::isUnknown().


Generated on Wed Sep 5 15:49:28 2007 for Vidalia by  doxygen 1.5.3