mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 11:31:51 -05:00
improve physical structure
This commit is contained in:
parent
27d4471cde
commit
1f57ba5fec
@ -1,10 +1,10 @@
|
|||||||
#include "AudioDevice.hpp"
|
#include "AudioDevice.hpp"
|
||||||
|
|
||||||
bool AudioDevice::initialize (OpenMode mode, Channel channel)
|
bool AudioDevice::initialize (OpenMode mode, Channel channel)
|
||||||
{
|
{
|
||||||
m_channel = channel;
|
m_channel = channel;
|
||||||
|
|
||||||
// open and ensure we are unbuffered if possible
|
// open and ensure we are unbuffered if possible
|
||||||
return QIODevice::open (mode | QIODevice::Unbuffered);
|
return QIODevice::open (mode | QIODevice::Unbuffered);
|
||||||
}
|
}
|
||||||
|
|
@ -9,7 +9,7 @@
|
|||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
#include <QAudioInput>
|
#include <QAudioInput>
|
||||||
|
|
||||||
#include "AudioDevice.hpp"
|
#include "Audio/AudioDevice.hpp"
|
||||||
|
|
||||||
class QAudioDeviceInfo;
|
class QAudioDeviceInfo;
|
||||||
class QAudioInput;
|
class QAudioInput;
|
@ -243,7 +243,7 @@ set (wsjt_qt_CXXSRCS
|
|||||||
validators/LiveFrequencyValidator.cpp
|
validators/LiveFrequencyValidator.cpp
|
||||||
GetUserId.cpp
|
GetUserId.cpp
|
||||||
TraceFile.cpp
|
TraceFile.cpp
|
||||||
AudioDevice.cpp
|
Audio/AudioDevice.cpp
|
||||||
Transceiver/Transceiver.cpp
|
Transceiver/Transceiver.cpp
|
||||||
Transceiver/TransceiverBase.cpp
|
Transceiver/TransceiverBase.cpp
|
||||||
Transceiver/EmulateSplitTransceiver.cpp
|
Transceiver/EmulateSplitTransceiver.cpp
|
||||||
@ -271,7 +271,7 @@ set (wsjt_qt_CXXSRCS
|
|||||||
Transceiver/EqualizationToolsDialog.cpp
|
Transceiver/EqualizationToolsDialog.cpp
|
||||||
widgets/DoubleClickablePushButton.cpp
|
widgets/DoubleClickablePushButton.cpp
|
||||||
widgets/DoubleClickableRadioButton.cpp
|
widgets/DoubleClickableRadioButton.cpp
|
||||||
LotWUsers.cpp
|
Network/LotWUsers.cpp
|
||||||
models/DecodeHighlightingModel.cpp
|
models/DecodeHighlightingModel.cpp
|
||||||
widgets/DecodeHighlightingListView.cpp
|
widgets/DecodeHighlightingListView.cpp
|
||||||
models/FoxLog.cpp
|
models/FoxLog.cpp
|
||||||
@ -304,14 +304,14 @@ set (jt9_CXXSRCS
|
|||||||
set (wsjtx_CXXSRCS
|
set (wsjtx_CXXSRCS
|
||||||
logbook/logbook.cpp
|
logbook/logbook.cpp
|
||||||
Network/psk_reporter.cpp
|
Network/psk_reporter.cpp
|
||||||
Modulator.cpp
|
Modulator/Modulator.cpp
|
||||||
Detector/Detector.cpp
|
Detector/Detector.cpp
|
||||||
widgets/logqso.cpp
|
widgets/logqso.cpp
|
||||||
widgets/displaytext.cpp
|
widgets/displaytext.cpp
|
||||||
decodedtext.cpp
|
Decoder/decodedtext.cpp
|
||||||
getfile.cpp
|
getfile.cpp
|
||||||
soundout.cpp
|
Audio/soundout.cpp
|
||||||
soundin.cpp
|
Audio/soundin.cpp
|
||||||
widgets/meterwidget.cpp
|
widgets/meterwidget.cpp
|
||||||
widgets/signalmeter.cpp
|
widgets/signalmeter.cpp
|
||||||
widgets/plotter.cpp
|
widgets/plotter.cpp
|
||||||
@ -324,12 +324,12 @@ set (wsjtx_CXXSRCS
|
|||||||
widgets/astro.cpp
|
widgets/astro.cpp
|
||||||
widgets/messageaveraging.cpp
|
widgets/messageaveraging.cpp
|
||||||
widgets/colorhighlighting.cpp
|
widgets/colorhighlighting.cpp
|
||||||
WsprTxScheduler.cpp
|
WSPR/WsprTxScheduler.cpp
|
||||||
widgets/mainwindow.cpp
|
widgets/mainwindow.cpp
|
||||||
Configuration.cpp
|
Configuration.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
wsprnet.cpp
|
Network/wsprnet.cpp
|
||||||
WSPRBandHopping.cpp
|
WSPR/WSPRBandHopping.cpp
|
||||||
widgets/ExportCabrillo.cpp
|
widgets/ExportCabrillo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@
|
|||||||
#include "widgets/MessageBox.hpp"
|
#include "widgets/MessageBox.hpp"
|
||||||
#include "validators/MaidenheadLocatorValidator.hpp"
|
#include "validators/MaidenheadLocatorValidator.hpp"
|
||||||
#include "validators/CallsignValidator.hpp"
|
#include "validators/CallsignValidator.hpp"
|
||||||
#include "LotWUsers.hpp"
|
#include "Network/LotWUsers.hpp"
|
||||||
#include "models/DecodeHighlightingModel.hpp"
|
#include "models/DecodeHighlightingModel.hpp"
|
||||||
#include "logbook/logbook.h"
|
#include "logbook/logbook.h"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "Radio.hpp"
|
#include "Radio.hpp"
|
||||||
#include "models/IARURegions.hpp"
|
#include "models/IARURegions.hpp"
|
||||||
#include "AudioDevice.hpp"
|
#include "Audio/AudioDevice.hpp"
|
||||||
#include "Transceiver/Transceiver.hpp"
|
#include "Transceiver/Transceiver.hpp"
|
||||||
|
|
||||||
#include "pimpl_h.hpp"
|
#include "pimpl_h.hpp"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef DETECTOR_HPP__
|
#ifndef DETECTOR_HPP__
|
||||||
#define DETECTOR_HPP__
|
#define DETECTOR_HPP__
|
||||||
#include "AudioDevice.hpp"
|
#include "Audio/AudioDevice.hpp"
|
||||||
#include <QScopedArrayPointer>
|
#include <QScopedArrayPointer>
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "Radio.hpp"
|
#include "Radio.hpp"
|
||||||
#include "models/FrequencyList.hpp"
|
#include "models/FrequencyList.hpp"
|
||||||
#include "AudioDevice.hpp"
|
#include "Audio/AudioDevice.hpp"
|
||||||
#include "Configuration.hpp"
|
#include "Configuration.hpp"
|
||||||
#include "models/StationList.hpp"
|
#include "models/StationList.hpp"
|
||||||
#include "Transceiver/Transceiver.hpp"
|
#include "Transceiver/Transceiver.hpp"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include "widgets/mainwindow.h" // TODO: G4WJS - break this dependency
|
#include "widgets/mainwindow.h" // TODO: G4WJS - break this dependency
|
||||||
#include "soundout.h"
|
#include "Audio/soundout.h"
|
||||||
#include "commons.h"
|
#include "commons.h"
|
||||||
|
|
||||||
#include "moc_Modulator.cpp"
|
#include "moc_Modulator.cpp"
|
@ -4,7 +4,7 @@
|
|||||||
#include <QAudio>
|
#include <QAudio>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
#include "AudioDevice.hpp"
|
#include "Audio/AudioDevice.hpp"
|
||||||
|
|
||||||
class SoundOutput;
|
class SoundOutput;
|
||||||
|
|
@ -8,6 +8,9 @@ interface IDecoder
|
|||||||
interface IEncoder
|
interface IEncoder
|
||||||
interface IDecode
|
interface IDecode
|
||||||
|
|
||||||
|
IDecoder <-- IProtocol
|
||||||
|
IEncoder <-- IProtocol
|
||||||
|
|
||||||
class FT8
|
class FT8
|
||||||
IProtocol <|-- FT8
|
IProtocol <|-- FT8
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
#include "Configuration.hpp"
|
#include "Configuration.hpp"
|
||||||
#include "LotWUsers.hpp"
|
#include "Network/LotWUsers.hpp"
|
||||||
#include "models/DecodeHighlightingModel.hpp"
|
#include "models/DecodeHighlightingModel.hpp"
|
||||||
#include "logbook/logbook.h"
|
#include "logbook/logbook.h"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <QPair>
|
#include <QPair>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
#include "decodedtext.h"
|
#include "Decoder/decodedtext.h"
|
||||||
|
|
||||||
class QAction;
|
class QAction;
|
||||||
class Configuration;
|
class Configuration;
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
#include "revision_utils.hpp"
|
#include "revision_utils.hpp"
|
||||||
#include "qt_helpers.hpp"
|
#include "qt_helpers.hpp"
|
||||||
#include "Network/NetworkAccessManager.hpp"
|
#include "Network/NetworkAccessManager.hpp"
|
||||||
#include "soundout.h"
|
#include "Audio/soundout.h"
|
||||||
#include "soundin.h"
|
#include "Audio/soundin.h"
|
||||||
#include "Modulator.hpp"
|
#include "Modulator/Modulator.hpp"
|
||||||
#include "Detector/Detector.hpp"
|
#include "Detector/Detector.hpp"
|
||||||
#include "plotter.h"
|
#include "plotter.h"
|
||||||
#include "echoplot.h"
|
#include "echoplot.h"
|
||||||
@ -58,14 +58,14 @@
|
|||||||
#include "widegraph.h"
|
#include "widegraph.h"
|
||||||
#include "sleep.h"
|
#include "sleep.h"
|
||||||
#include "logqso.h"
|
#include "logqso.h"
|
||||||
#include "decodedtext.h"
|
#include "Decoder/decodedtext.h"
|
||||||
#include "Radio.hpp"
|
#include "Radio.hpp"
|
||||||
#include "models/Bands.hpp"
|
#include "models/Bands.hpp"
|
||||||
#include "Transceiver/TransceiverFactory.hpp"
|
#include "Transceiver/TransceiverFactory.hpp"
|
||||||
#include "models/StationList.hpp"
|
#include "models/StationList.hpp"
|
||||||
#include "validators/LiveFrequencyValidator.hpp"
|
#include "validators/LiveFrequencyValidator.hpp"
|
||||||
#include "Network/MessageClient.hpp"
|
#include "Network/MessageClient.hpp"
|
||||||
#include "wsprnet.h"
|
#include "Network/wsprnet.h"
|
||||||
#include "signalmeter.h"
|
#include "signalmeter.h"
|
||||||
#include "HelpTextWindow.hpp"
|
#include "HelpTextWindow.hpp"
|
||||||
#include "SampleDownloader.hpp"
|
#include "SampleDownloader.hpp"
|
||||||
@ -74,7 +74,7 @@
|
|||||||
#include "validators/MaidenheadLocatorValidator.hpp"
|
#include "validators/MaidenheadLocatorValidator.hpp"
|
||||||
#include "validators/CallsignValidator.hpp"
|
#include "validators/CallsignValidator.hpp"
|
||||||
#include "Transceiver/EqualizationToolsDialog.hpp"
|
#include "Transceiver/EqualizationToolsDialog.hpp"
|
||||||
#include "LotWUsers.hpp"
|
#include "Network/LotWUsers.hpp"
|
||||||
#include "logbook/AD1CCty.hpp"
|
#include "logbook/AD1CCty.hpp"
|
||||||
#include "models/FoxLog.hpp"
|
#include "models/FoxLog.hpp"
|
||||||
#include "models/CabrilloLog.hpp"
|
#include "models/CabrilloLog.hpp"
|
||||||
|
@ -22,13 +22,13 @@
|
|||||||
#include <QFuture>
|
#include <QFuture>
|
||||||
#include <QFutureWatcher>
|
#include <QFutureWatcher>
|
||||||
|
|
||||||
#include "AudioDevice.hpp"
|
#include "Audio/AudioDevice.hpp"
|
||||||
#include "commons.h"
|
#include "commons.h"
|
||||||
#include "Radio.hpp"
|
#include "Radio.hpp"
|
||||||
#include "models/Modes.hpp"
|
#include "models/Modes.hpp"
|
||||||
#include "models/FrequencyList.hpp"
|
#include "models/FrequencyList.hpp"
|
||||||
#include "Configuration.hpp"
|
#include "Configuration.hpp"
|
||||||
#include "WSPRBandHopping.hpp"
|
#include "WSPR/WSPRBandHopping.hpp"
|
||||||
#include "Transceiver/Transceiver.hpp"
|
#include "Transceiver/Transceiver.hpp"
|
||||||
#include "DisplayManual.hpp"
|
#include "DisplayManual.hpp"
|
||||||
#include "Network/psk_reporter.h"
|
#include "Network/psk_reporter.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user