File: dxcc.h

package info (click to toggle)
trustedqsl 2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 29,116 kB
  • ctags: 3,577
  • sloc: cpp: 24,858; xml: 5,344; ansic: 626; sh: 88; python: 18; makefile: 11
file content (35 lines) | stat: -rw-r--r-- 909 bytes parent folder | download | duplicates (3)
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