mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-09-27 15:46:51 -04:00
8215f3412b
Settings option to highlight not worked before entities/grids/calls by mode. Fix issues with highlighting decodes and generally refactor the internal workings of ADIF and QSO recording for worked before detection.
35 lines
864 B
C++
35 lines
864 B
C++
#ifndef WORKWED_BEFORE_HPP_
|
|
#define WORKWED_BEFORE_HPP_
|
|
|
|
#include <boost/core/noncopyable.hpp>
|
|
#include "pimpl_h.hpp"
|
|
|
|
class CountryDat;
|
|
class QString;
|
|
class QByteArray;
|
|
|
|
class WorkedBefore final
|
|
: private boost::noncopyable
|
|
{
|
|
public:
|
|
explicit WorkedBefore ();
|
|
~WorkedBefore ();
|
|
|
|
QString const& path () const;
|
|
CountryDat const& countries () const;
|
|
bool add (QString const& call
|
|
, QString const& grid
|
|
, QString const& band
|
|
, QString const& mode
|
|
, QByteArray const& ADIF_record);
|
|
bool country_worked (QString const& call, QString const& mode, QString const& band) const;
|
|
bool grid_worked (QString const& grid, QString const& mode, QString const& band) const;
|
|
bool call_worked (QString const& call, QString const& mode, QString const& band) const;
|
|
|
|
private:
|
|
class impl;
|
|
pimpl<impl> m_;
|
|
};
|
|
|
|
#endif
|