mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
363c469b55
73 messages from other QSOs on frequency should now be ignored rather than being processed. Also some long overdue refactoring and tidying of non-idiomatic C++ code in the logbook directory. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8047 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
30 lines
505 B
C++
30 lines
505 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) const;
|
|
int getWorkedCount() const;
|
|
int getSize() const;
|
|
|
|
private:
|
|
QHash<QString, bool> _data;
|
|
};
|
|
|
|
#endif
|
|
|