OpenCPN Partial API docs
own_ship.h
1 /******************************************************************************
2  *
3  * Project: OpenCPN
4  * Purpose: Position, course, speed, etc. obtained from instruments.
5  *
6  ***************************************************************************
7  * Copyright (C) 2022 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 OWN_SHIP_H__
27 #define OWN_SHIP_H__
28 
29 extern double gLat;
30 extern double gLon;
31 extern double gCog;
32 extern double gSog;
33 extern double gHdt;
34 extern double gHdm;
35 extern double gVar;
36 
37 extern bool bGPSValid;
38 
39 #endif // OWN_SHIP_H__