mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 23:57:10 -04:00
7d198f3d50
-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
30 lines
511 B
C++
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
|
|
|