summaryrefslogtreecommitdiff
path: root/logbook/adif.h
diff options
context:
space:
mode:
Diffstat (limited to 'logbook/adif.h')
-rw-r--r--logbook/adif.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/logbook/adif.h b/logbook/adif.h
index e4772055..727ca995 100644
--- a/logbook/adif.h
+++ b/logbook/adif.h
@@ -29,10 +29,16 @@ class ADIF
int getCount() const;
// open ADIF file and append the QSO details. Return true on success
- bool addQSOToFile(QString const& hisCall, QString const& hisGrid, QString const& mode, QString const& rptSent, QString const& rptRcvd, QDateTime const& dateTimeOn, QDateTime const& dateTimeOff, QString const& band,
- QString const& comments, QString const& name, QString const& strDialFreq, QString const& m_myCall, QString const& m_myGrid, QString const& m_txPower);
+ bool addQSOToFile(QByteArray const& ADIF_record);
- private:
+ QByteArray QSOToADIF(QString const& hisCall, QString const& hisGrid, QString const& mode, QString const& rptSent
+ , QString const& rptRcvd, QDateTime const& dateTimeOn, QDateTime const& dateTimeOff
+ , QString const& band, QString const& comments, QString const& name
+ , QString const& strDialFreq, QString const& m_myCall, QString const& m_myGrid
+ , QString const& m_txPower, QString const& operator_call);
+
+
+private:
struct QSO
{
QString call,band,mode,date;