mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 12:48:40 -05:00
Move the PSKreporter functions in Windows to our built-in code.
No more need for PSKReporter.dll. Remove the no-longer-needed "#ifdef WIN32", "#ifdef UNIX" blocks. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3524 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
87ad45188f
commit
d8a592af51
@ -350,6 +350,7 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QString *thekey, \
|
||||
ui->decodedTextLabel->setText(t);
|
||||
ui->decodedTextLabel2->setText(t);
|
||||
|
||||
/*
|
||||
#ifdef WIN32
|
||||
if(m_pskReporter) {
|
||||
rc=ReporterInitialize(NULL,NULL);
|
||||
@ -364,9 +365,10 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QString *thekey, \
|
||||
#endif
|
||||
|
||||
#ifdef UNIX
|
||||
*/
|
||||
psk_Reporter = new PSK_Reporter(this);
|
||||
psk_Reporter->setLocalStation(m_myCall,m_myGrid, m_antDescription[m_band], "WSJT-X r" + rev.mid(6,4) );
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
m_logBook.init();
|
||||
|
||||
@ -813,6 +815,7 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog
|
||||
ui->bandComboBox->addItems(dlg.m_bandDescription);
|
||||
ui->bandComboBox->setCurrentIndex(m_band);
|
||||
|
||||
/*
|
||||
#ifdef WIN32
|
||||
if(dlg.m_pskReporter!=m_pskReporter) {
|
||||
if(dlg.m_pskReporter) {
|
||||
@ -830,13 +833,14 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog
|
||||
}
|
||||
}
|
||||
#endif
|
||||
*/
|
||||
m_pskReporter=dlg.m_pskReporter;
|
||||
|
||||
#ifdef UNIX
|
||||
//#ifdef UNIX
|
||||
if(m_pskReporter) {
|
||||
psk_Reporter->setLocalStation(m_myCall, m_myGrid, m_antDescription[m_band], "WSJT-X r" + rev.mid(6,4) );
|
||||
}
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
m_After73=dlg.m_After73;
|
||||
|
||||
@ -1591,6 +1595,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
wchar_t tremote[256];
|
||||
remote.toWCharArray(tremote);
|
||||
|
||||
/*
|
||||
#ifdef WIN32
|
||||
if(m_pskReporterInit and b and !m_diskData and okToPost) {
|
||||
|
||||
@ -1613,6 +1618,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
}
|
||||
}
|
||||
#else
|
||||
*/
|
||||
if(m_pskReporter and b and !m_diskData and okToPost) {
|
||||
psk_Reporter->setLocalStation(m_myCall, m_myGrid, m_antDescription[m_band], "WSJT-X r" + rev.mid(6,4) );
|
||||
QString freq = QString::number(nfreq);
|
||||
@ -1622,7 +1628,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
QString::number(QDateTime::currentDateTime().toTime_t()));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
//#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -83,8 +83,10 @@ private:
|
||||
Ui::WideGraph *ui;
|
||||
};
|
||||
|
||||
/*
|
||||
#ifdef WIN32
|
||||
extern int set570(double freq_MHz);
|
||||
#endif
|
||||
*/
|
||||
|
||||
#endif // WIDEGRAPH_H
|
||||
|
Loading…
Reference in New Issue
Block a user