diff options
| author | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
| commit | f647d78463c1250ce9c99af664615fafccf5e959 (patch) | |
| tree | 5b00428cef68aef1c9d407e2d4535687422419b6 /map65/commons.h | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'map65/commons.h')
| -rw-r--r--[-rwxr-xr-x] | map65/commons.h | 114 |
1 files changed, 58 insertions, 56 deletions
diff --git a/map65/commons.h b/map65/commons.h index cc067601..16aecb89 100755..100644 --- a/map65/commons.h +++ b/map65/commons.h @@ -1,56 +1,58 @@ -#ifndef COMMONS_H
-#define COMMONS_H
-
-#define NFFT 32768
-
-#include <QString>
-
-extern "C" {
-
-extern struct { //This is "common/datcom/..." in Fortran
- float d4[4*5760000]; //Raw I/Q data from Linrad
- float ss[4*322*NFFT]; //Half-symbol spectra at 0,45,90,135 deg pol
- float savg[4*NFFT]; //Avg spectra at 0,45,90,135 deg pol
- double fcenter; //Center freq from Linrad (MHz)
- int nutc; //UTC as integer, HHMM
- int idphi; //Phase correction for Y pol'n, degrees
- int mousedf; //User-selected DF
- int mousefqso; //User-selected QSO freq (kHz)
- int nagain; //1 ==> decode only at fQSO +/- Tol
- int ndepth; //How much hinted decoding to do?
- int ndiskdat; //1 ==> data read from *.tf2 or *.iq file
- int neme; //Hinted decoding tries only for EME calls
- int newdat; //1 ==> new data, must do long FFT
- int nfa; //Low decode limit (kHz)
- int nfb; //High decode limit (kHz)
- int nfcal; //Frequency correction, for calibration (Hz)
- int nfshift; //Shift of displayed center freq (kHz)
- int mcall3; //1 ==> CALL3.TXT has been modified
- int ntimeout; //Max for timeouts in Messages and BandMap
- int ntol; //+/- decoding range around fQSO (Hz)
- int nxant; //1 ==> add 45 deg to measured pol angle
- int map65RxLog; //Flags to control log files
- int nfsample; //Input sample rate
- int nxpol; //1 if using xpol antennas, 0 otherwise
- int nmode; //nmode = 10*m_modeQ65 + m_modeJT65
- int nfast; //No longer used
- int nsave; //Number of s3(64,63) spectra saved
- int max_drift; //Maximum Q65 drift: units symbol_rate/TxT
- int nhsym; //Number of available JT65 half-symbols
- char mycall[12];
- char mygrid[6];
- char hiscall[12];
- char hisgrid[6];
- char datetime[20];
- int junk1; //Used to test extent of copy to shared memory
- int junk2;
-} datcom_;
-}
-
-extern QStringList allDecodes;
-extern QString guiDate;
-
-extern bool m_w3szUrl;
-extern QString m_otherUrl;
-
-#endif // COMMONS_H
+#ifndef COMMONS_H +#define COMMONS_H + +#define NFFT 32768 + +#include <QString> + +extern "C" { + +extern struct { //This is "common/datcom/..." in Fortran + float d4[4*5760000]; //Raw I/Q data from Linrad + float ss[4*322*NFFT]; //Half-symbol spectra at 0,45,90,135 deg pol + float savg[4*NFFT]; //Avg spectra at 0,45,90,135 deg pol + double fcenter; //Center freq from Linrad (MHz) + int nutc; //UTC as integer, HHMM + int idphi; //Phase correction for Y pol'n, degrees + int mousedf; //User-selected DF + int mousefqso; //User-selected QSO freq (kHz) + int nagain; //1 ==> decode only at fQSO +/- Tol + int ndepth; //How much hinted decoding to do? + int ndiskdat; //1 ==> data read from *.tf2 or *.iq file + int neme; //Hinted decoding tries only for EME calls + int newdat; //1 ==> new data, must do long FFT + int nfa; //Low decode limit (kHz) + int nfb; //High decode limit (kHz) + int nfcal; //Frequency correction, for calibration (Hz) + int nfshift; //Shift of displayed center freq (kHz) + int mcall3; //1 ==> CALL3.TXT has been modified + int ntimeout; //Max for timeouts in Messages and BandMap + int ntol; //+/- decoding range around fQSO (Hz) + int nxant; //1 ==> add 45 deg to measured pol angle + int map65RxLog; //Flags to control log files + int nfsample; //Input sample rate + int nxpol; //1 if using xpol antennas, 0 otherwise + int nmode; //nmode = 10*m_modeQ65 + m_modeJT65 + int nfast; //No longer used + int nsave; //Number of s3(64,63) spectra saved + int max_drift; //Maximum Q65 drift: units symbol_rate/TxT + int nhsym; //Number of available JT65 half-symbols + char mycall[12]; + char mygrid[6]; + char hiscall[12]; + char hisgrid[6]; + char datetime[20]; + int junk1; //Used to test extent of copy to shared memory + int junk2; +} datcom_; +} + +extern QStringList allDecodes; +extern QStringList allDecodes2; +extern QString guiDate; + +extern bool m_w3szUrl; +extern QString m_otherUrl; +extern bool m_spot_to_psk_reporter; + +#endif // COMMONS_H |
