OpenCPN Partial API docs
Loading...
Searching...
No Matches
config_vars.h
1/******************************************************************************
2 *
3 * Project: OpenCPN
4 * Purpose: Variables defined in config file, command line etc.
5 *
6 ***************************************************************************
7 * Copyright (C) 2019 Alec Leamas *
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 * This program is distributed in the hope that it will be useful, *
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17 * GNU General Public License for more details. *
18 * *
19 * You should have received a copy of the GNU General Public License *
20 * along with this program; if not, write to the *
21 * Free Software Foundation, Inc., *
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
23 ***************************************************************************
24 */
25
26#ifndef CONFIG_VARS_H__
27#define CONFIG_VARS_H__
28
29#include <wx/config.h>
30#include <wx/string.h>
31
32
33extern bool g_bGarminHostUpload;
34extern bool g_bWplUsePosition;
35
36extern double g_UserVar;
37
38extern int g_maxWPNameLength;
39extern int g_nNMEADebug;
40extern int gps_watchdog_timeout_ticks;
41extern int sat_watchdog_timeout_ticks;
42
43extern wxString g_GPS_Ident;
44extern wxString g_hostname;
45
46wxConfigBase* TheBaseConfig();
47void InitBaseConfig(wxConfigBase* cfg);
48
49#endif // CONFIG_VARS_H__