1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/***************************************************************************
dxcc.h - description
-------------------
begin : Tue Jun 18 2002
copyright : (C) 2002 by ARRL
author : Jon Bloom
email : jbloom@arrl.org
revision : $Id$
***************************************************************************/
#ifndef __dxcc_h
#define __dxcc_h
#ifdef HAVE_CONFIG_H
#include "sysconfig.h"
#endif
class DXCC {
public:
DXCC() {}
int number() const { return _number; }
const char * name() const { return _name; }
const char * zonemap() const { return _zonemap; }
bool getFirst();
bool getNext();
bool getByEntity(int e);
static bool init();
private:
static bool _init;
int _number, _index;
const char *_name;
const char *_zonemap;
};
#endif // __dxcc_h
|