From: curt Date: Tue, 26 Sep 2000 20:52:01 +0000 (+0000) Subject: Renamed fg_types.hxx -> sg_types.hxx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e6241a2f737d6e646607bc2b70e9c1a34d9a270c;p=simgear.git Renamed fg_types.hxx -> sg_types.hxx --- diff --git a/simgear/math/fg_types.hxx b/simgear/math/fg_types.hxx deleted file mode 100644 index a0d89029..00000000 --- a/simgear/math/fg_types.hxx +++ /dev/null @@ -1,74 +0,0 @@ -// fg_types.hxx -- commonly used types I don't want to have to keep redefining -// -// Written by Curtis Olson, started March 1999. -// -// Copyright (C) 1999 Curtis L. Olson - curt@flightgear.org -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the -// Free Software Foundation, Inc., 59 Temple Place - Suite 330, -// Boston, MA 02111-1307, USA. -// -// $Id$ - - -#ifndef _FG_TYPES_HXX -#define _FG_TYPES_HXX - - -#ifndef __cplusplus -# error This library requires C++ -#endif - - -#include - -#include STL_STRING -#include - -#include - -FG_USING_STD(vector); -FG_USING_STD(string); - - -typedef vector < int > int_list; -typedef int_list::iterator int_list_iterator; -typedef int_list::const_iterator const_int_list_iterator; - -typedef vector < Point3D > point_list; -typedef point_list::iterator point_list_iterator; -typedef point_list::const_iterator const_point_list_iterator; - -typedef vector < string > string_list; -typedef string_list::iterator string_list_iterator; -typedef string_list::const_iterator const_string_list_iterator; - - -class point2d { -public: - union { - double x; - double dist; - double lon; - }; - union { - double y; - double theta; - double lat; - }; -}; - - -#endif // _FG_TYPES_HXX - diff --git a/simgear/math/sg_types.hxx b/simgear/math/sg_types.hxx new file mode 100644 index 00000000..a0d89029 --- /dev/null +++ b/simgear/math/sg_types.hxx @@ -0,0 +1,74 @@ +// fg_types.hxx -- commonly used types I don't want to have to keep redefining +// +// Written by Curtis Olson, started March 1999. +// +// Copyright (C) 1999 Curtis L. Olson - curt@flightgear.org +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. +// +// $Id$ + + +#ifndef _FG_TYPES_HXX +#define _FG_TYPES_HXX + + +#ifndef __cplusplus +# error This library requires C++ +#endif + + +#include + +#include STL_STRING +#include + +#include + +FG_USING_STD(vector); +FG_USING_STD(string); + + +typedef vector < int > int_list; +typedef int_list::iterator int_list_iterator; +typedef int_list::const_iterator const_int_list_iterator; + +typedef vector < Point3D > point_list; +typedef point_list::iterator point_list_iterator; +typedef point_list::const_iterator const_point_list_iterator; + +typedef vector < string > string_list; +typedef string_list::iterator string_list_iterator; +typedef string_list::const_iterator const_string_list_iterator; + + +class point2d { +public: + union { + double x; + double dist; + double lon; + }; + union { + double y; + double theta; + double lat; + }; +}; + + +#endif // _FG_TYPES_HXX +