Replace MobileGPS with GPSD.

This commit is contained in:
Jonathan Naylor 2020-06-03 13:47:34 +01:00
parent 05b6249f4f
commit d6f04c3bc2
14 changed files with 203 additions and 197 deletions

View file

@ -112,8 +112,8 @@ public:
void getMiscellaneous(TEXT_LANG& language, bool& infoEnabled, bool& echoEnabled, bool& logEnabled, bool& dratsEnabled, bool& dtmfEnabled) const;
void setMiscellaneous(TEXT_LANG language, bool infoEnabled, bool echoEnabled, bool logEnabled, bool dratsEnabled, bool dtmfEnabled);
void getMobileGPS(bool& enabled, wxString& address, unsigned int& port) const;
void setMobileGPS(bool enabled, const wxString& address, unsigned int port);
void getGPSD(bool& enabled, wxString& address, wxString& port) const;
void setGPSD(bool enabled, const wxString& address, const wxString& port);
void getPosition(int& x, int& y) const;
void setPosition(int x, int y);
@ -307,9 +307,9 @@ private:
bool m_logEnabled;
bool m_dratsEnabled;
bool m_dtmfEnabled;
bool m_mobileGPSEnabled;
wxString m_mobileGPSAddress;
unsigned int m_mobileGPSPort;
bool m_gpsdEnabled;
wxString m_gpsdAddress;
wxString m_gpsdPort;
int m_x;
int m_y;
};