WSJT-X/logbook/countriesworked.h
Murray Curtis c0ce066408 Logbook:
-changed log to hash table for faster lookup
  -improved ADIF compatibility
mainwindow.ui
  -fixed typo in menu entry



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3538 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-08 23:51:53 +00:00

30 lines
511 B
C++

/*
* maintains a list of country names that have been worked
* VK3ACF July 2013
*/
#ifndef __COUNTRIESWORKDED_H
#define __COUNTRIESWORKDED_H
#include <QList>
#include <QString>
#include <QStringList>
#include <QHash>
class CountriesWorked
{
public:
void init(const QStringList countryNames);
void setAsWorked(const QString countryName);
bool getHasWorked(const QString countryName);
int getWorkedCount();
int getSize();
private:
QHash<QString, bool> _data;
};
#endif