mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	There's not much to show for this so far but some of the necessary infrastructure is in place.
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef WORKWED_BEFORE_HPP_
 | 
						|
#define WORKWED_BEFORE_HPP_
 | 
						|
 | 
						|
#include <QObject>
 | 
						|
#include "AD1CCty.hpp"
 | 
						|
#include "pimpl_h.hpp"
 | 
						|
 | 
						|
class Configuration;
 | 
						|
class CountryDat;
 | 
						|
class QString;
 | 
						|
class QByteArray;
 | 
						|
 | 
						|
class WorkedBefore final
 | 
						|
  : public QObject
 | 
						|
{
 | 
						|
  Q_OBJECT
 | 
						|
 | 
						|
public:
 | 
						|
  using Continent = AD1CCty::Continent;
 | 
						|
 | 
						|
  explicit WorkedBefore (Configuration const *);
 | 
						|
  ~WorkedBefore ();
 | 
						|
 | 
						|
  Q_SLOT void reload ();
 | 
						|
  Q_SLOT bool add (QString const& call
 | 
						|
                   , QString const& grid
 | 
						|
                   , QString const& band
 | 
						|
                   , QString const& mode
 | 
						|
                   , QByteArray const& ADIF_record);
 | 
						|
 | 
						|
  QString const& path () const;
 | 
						|
  AD1CCty const * countries () const;
 | 
						|
  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;
 | 
						|
  bool continent_worked (Continent continent, QString const& mode, QString const& band) const;
 | 
						|
  bool CQ_zone_worked (int CQ_zone, QString const& mode, QString const& band) const;
 | 
						|
  bool ITU_zone_worked (int ITU_zone, QString const& mode, QString const& band) const;
 | 
						|
 | 
						|
  Q_SIGNAL void finished_loading (int worked_before_record_count, QString const& error) const;
 | 
						|
 | 
						|
private:
 | 
						|
  class impl;
 | 
						|
  pimpl<impl> m_;
 | 
						|
};
 | 
						|
 | 
						|
#endif
 |