OpenCPN Partial API docs
ais_state_vars.cpp
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, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19  **************************************************************************/
20 
23 #include <wx/string.h>
24 
25 bool g_bAIS_ACK_Timeout;
26 bool g_bAIS_CPA_Alert;
27 bool g_bAIS_CPA_Alert_Audio;
28 bool g_bAIS_CPA_Alert_Suppress_Moored;
29 bool g_bAIS_DSC_Alert_Audio;
30 bool g_bAIS_GCPA_Alert_Audio;
31 bool g_bAIS_SART_Alert_Audio;
32 bool g_bAISShowTracks;
33 bool g_bAisTargetList_sortReverse;
34 bool g_bAllowShowScaled;
35 bool g_bAnchor_Alert_Audio;
36 bool g_bCPAMax;
37 bool g_bCPAWarn;
38 bool g_bDrawAISRealtime;
39 bool g_bDrawAISSize;
40 bool g_benableAISNameCache;
41 bool g_bHideMoored;
42 bool g_bMarkLost;
43 bool g_bRemoveLost;
44 bool g_bShowAIS;
45 bool g_bShowAISName;
46 bool g_bShowAreaNotices;
47 bool g_bShowCOG;
48 bool g_bShowScaled;
49 bool g_bSyncCogPredictors;
50 bool g_bTCPA_Max;
51 bool g_bTrackCarryOver;
52 bool g_AisFirstTimeUse;
53 
54 double g_AckTimeout_Mins;
55 double g_AIS_RealtPred_Kts;
56 double g_AISShowTracks_Limit;
57 double g_AISShowTracks_Mins;
58 double g_CPAMax_NM;
59 double g_CPAWarn_NM;
60 double g_MarkLost_Mins;
61 double g_RemoveLost_Mins;
62 double g_ShowCOG_Mins;
63 double g_ShowMoored_Kts;
64 double g_TCPA_Max;
65 double g_SOGminCOG_kts;
66 
67 int g_ais_alert_dialog_sx, g_ais_alert_dialog_sy;
68 int g_ais_alert_dialog_x, g_ais_alert_dialog_y;
69 int g_ais_query_dialog_x, g_ais_query_dialog_y;
70 int g_AisTargetList_range;
71 int g_AisTargetList_sortColumn;
72 int g_ScaledNumWeightCPA;
73 int g_ScaledNumWeightRange;
74 int g_ScaledNumWeightSizeOfT;
75 int g_ScaledNumWeightSOG;
76 int g_ScaledNumWeightTCPA;
77 int g_ScaledSizeMinimal;
78 int g_ShowScaled_Num;
79 int g_Show_Target_Name_Scale;
80 int g_track_rotate_time;
81 int g_track_rotate_time_type;
82 
83 wxString g_AIS_sound_file;
84 wxString g_AisTargetList_column_order;
85 wxString g_AisTargetList_column_spec;
86 wxString g_AisTargetList_perspective;
87 wxString g_anchorwatch_sound_file;
88 wxString g_DSC_sound_file;
89 wxString g_sAIS_Alert_Sound_File;