mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 10:32:02 -05:00
27 lines
452 B
C
27 lines
452 B
C
|
/*
|
||
|
* maintains a list of country names that have been worked
|
||
|
* VK3ACF July 2013
|
||
|
*/
|
||
|
|
||
|
#ifndef __COUNTRIESWORKDED_H
|
||
|
#define __COUNTRIESWORKDED_H
|
||
|
|
||
|
#include <QtGui>
|
||
|
|
||
|
|
||
|
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
|
||
|
|