mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-10 18:43:28 -05:00
Move defines to the header so they can be reused elsewhere
This commit is contained in:
parent
07721385f1
commit
aeab5d9229
@ -25,12 +25,6 @@
|
||||
|
||||
#include "satellitetrackersettings.h"
|
||||
|
||||
#define DEAFULT_TARGET "ISS"
|
||||
#define DEFAULT_TLES {"https://db.satnogs.org/api/tle/", "https://www.amsat.org/tle/current/nasabare.txt", "https://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=tle", "https://celestrak.org/NORAD/elements/gp.php?GROUP=gps-ops&FORMAT=tle", "https://celestrak.org/NORAD/elements/gp.php?CATNR=36395&FORMAT=tle"}
|
||||
#define DEFAULT_DATE_FORMAT "yyyy/MM/dd"
|
||||
#define DEFAULT_AOS_SPEECH "${name} is visible for ${duration} minutes. Max elevation, ${elevation} degrees."
|
||||
#define DEFAULT_LOS_SPEECH "${name} is no longer visible."
|
||||
|
||||
SatelliteTrackerSettings::SatelliteTrackerSettings() :
|
||||
m_rollupState(nullptr)
|
||||
{
|
||||
|
@ -28,6 +28,12 @@
|
||||
|
||||
class Serializable;
|
||||
|
||||
#define DEAFULT_TARGET "ISS"
|
||||
#define DEFAULT_TLES {"https://db.satnogs.org/api/tle/", "https://www.amsat.org/tle/current/nasabare.txt", "https://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=tle", "https://celestrak.org/NORAD/elements/gp.php?GROUP=gps-ops&FORMAT=tle", "https://celestrak.org/NORAD/elements/gp.php?CATNR=36395&FORMAT=tle"}
|
||||
#define DEFAULT_DATE_FORMAT "yyyy/MM/dd"
|
||||
#define DEFAULT_AOS_SPEECH "${name} is visible for ${duration} minutes. Max elevation, ${elevation} degrees."
|
||||
#define DEFAULT_LOS_SPEECH "${name} is no longer visible."
|
||||
|
||||
#define SAT_COL_COLUMNS 18
|
||||
|
||||
struct SatelliteTrackerSettings
|
||||
|
Loading…
Reference in New Issue
Block a user