2018-10-24 19:00:19 -04:00
|
|
|
#ifndef COUNTRIES_WORKDED_H_
|
|
|
|
#define COUNTRIES_WORKDED_H_
|
2013-07-31 07:29:42 -04:00
|
|
|
|
2013-08-08 19:51:53 -04:00
|
|
|
#include <QString>
|
2013-07-31 07:29:42 -04:00
|
|
|
|
2018-10-24 19:00:19 -04:00
|
|
|
#include "pimpl_h.hpp"
|
|
|
|
|
|
|
|
class QStringList;
|
2013-07-31 07:29:42 -04:00
|
|
|
|
2018-10-24 19:00:19 -04:00
|
|
|
class CountriesWorked final
|
2013-07-31 07:29:42 -04:00
|
|
|
{
|
2017-08-29 22:27:57 -04:00
|
|
|
public:
|
2018-10-24 19:00:19 -04: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 07:29:42 -04:00
|
|
|
|
2017-08-29 22:27:57 -04:00
|
|
|
private:
|
2018-10-24 19:00:19 -04:00
|
|
|
class impl;
|
|
|
|
pimpl<impl> m_;
|
2013-07-31 07:29:42 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|