WSJT-X/logbook/countriesworked.h

25 lines
438 B
C
Raw Normal View History

#ifndef COUNTRIES_WORKDED_H_
#define COUNTRIES_WORKDED_H_
#include <QString>
#include "pimpl_h.hpp"
class QStringList;
class CountriesWorked final
{
public:
explicit CountriesWorked (QStringList const& countryNames);
~CountriesWorked ();
void add (QString const& country, QString const& band);
bool contains (QString const& country, QString const& band = QString {}) const;
private:
class impl;
pimpl<impl> m_;
};
#endif