OpenCPN Partial API docs
Loading...
Searching...
No Matches
ais_state_vars.h
Go to the documentation of this file.
1/**************************************************************************
2 * Copyright (C) 2022 David Register *
3 * Copyright (C) 2022-2023 Alec Leamas *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
17 **************************************************************************/
18
25#ifndef AIS_STATE_VARS_H_
26#define AIS_STATE_VARS_H_
27
28extern bool g_bAIS_ACK_Timeout;
29extern bool g_bAIS_CPA_Alert;
30extern bool g_bAIS_CPA_Alert_Audio;
31extern bool g_bAIS_CPA_Alert_Suppress_Moored;
32extern bool g_bAIS_DSC_Alert_Audio;
33extern bool g_bAIS_GCPA_Alert_Audio;
34extern bool g_bAIS_SART_Alert_Audio;
35extern bool g_bAISShowTracks;
36extern bool g_bAisTargetList_sortReverse;
37extern bool g_bAllowShowScaled;
38extern bool g_bAnchor_Alert_Audio;
39extern bool g_bCPAMax;
40extern bool g_bCPAWarn;
41extern bool g_bDrawAISRealtime;
42extern bool g_bDrawAISSize;
43extern bool g_benableAISNameCache;
44extern bool g_bHideMoored;
45extern bool g_bMarkLost;
46extern bool g_bRemoveLost;
47extern bool g_bShowAIS;
48extern bool g_bShowAISName;
49extern bool g_bShowAreaNotices;
50extern bool g_bShowCOG;
51extern bool g_bShowScaled;
52extern bool g_bSyncCogPredictors;
53extern bool g_bTCPA_Max;
54extern bool g_bTrackCarryOver;
55extern bool g_AisFirstTimeUse;
56
57extern double g_AckTimeout_Mins;
58extern double g_AIS_RealtPred_Kts;
59extern double g_AISShowTracks_Limit;
60extern double g_AISShowTracks_Mins;
61extern double g_CPAMax_NM;
62extern double g_CPAWarn_NM;
63extern double g_MarkLost_Mins;
64extern double g_RemoveLost_Mins;
65extern double g_ShowCOG_Mins;
66extern double g_ShowMoored_Kts;
67extern double g_SOGminCOG_kts;
68extern double g_TCPA_Max;
69
70extern int g_ais_alert_dialog_sx, g_ais_alert_dialog_sy;
71extern int g_ais_alert_dialog_x, g_ais_alert_dialog_y;
72extern int g_ais_query_dialog_x, g_ais_query_dialog_y;
73extern int g_AisTargetList_range;
74extern int g_AisTargetList_sortColumn;
75extern int g_ScaledNumWeightCPA;
76extern int g_ScaledNumWeightRange;
77extern int g_ScaledNumWeightSizeOfT;
78extern int g_ScaledNumWeightSOG;
79extern int g_ScaledNumWeightTCPA;
80extern int g_ScaledSizeMinimal;
81extern int g_ShowScaled_Num;
82extern int g_Show_Target_Name_Scale;
83extern int g_track_rotate_time;
84extern int g_track_rotate_time_type;
85
86extern wxString g_AIS_sound_file;
87extern wxString g_AisTargetList_column_order;
88extern wxString g_AisTargetList_column_spec;
89extern wxString g_AisTargetList_perspective;
90extern wxString g_anchorwatch_sound_file;
91extern wxString g_DSC_sound_file;
92extern wxString g_sAIS_Alert_Sound_File;
93
94#endif