2018-10-25 00:00:19 +01:00
|
|
|
#ifndef COUNTRIES_WORKDED_H_
|
|
|
|
#define COUNTRIES_WORKDED_H_
|
2013-07-31 11:29:42 +00:00
|
|
|
|
2013-08-08 23:51:53 +00:00
|
|
|
#include <QString>
|
2013-07-31 11:29:42 +00:00
|
|
|
|
2018-10-25 00:00:19 +01:00
|
|
|
#include "pimpl_h.hpp"
|
|
|
|
|
|
|
|
class QStringList;
|
2013-07-31 11:29:42 +00:00
|
|
|
|
2018-10-25 00:00:19 +01:00
|
|
|
class CountriesWorked final
|
2013-07-31 11:29:42 +00:00
|
|
|
{
|
2017-08-30 02:27:57 +00:00
|
|
|
public:
|
2018-10-25 00:00:19 +01:00
|
|
|
explicit CountriesWorked (QStringList const& countryNames);
|
|
|
|
~CountriesWorked ();
|
|
|
|
|
|
|
|
void add (QString const& country, QString const& band);
|
|
|
|
bool contains (QString const& country, QString const& band = QString {}) const;
|
2013-07-31 11:29:42 +00:00
|
|
|
|
2017-08-30 02:27:57 +00:00
|
|
|
private:
|
2018-10-25 00:00:19 +01:00
|
|
|
class impl;
|
|
|
|
pimpl<impl> m_;
|
2013-07-31 11:29:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|