summaryrefslogtreecommitdiff
path: root/logbook/countriesworked.h
blob: ac8aaea6dbd5aac5e038c4212810947b9357548a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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