]> git.mxchange.org Git - simgear.git/commitdiff
Renamed fg_types.hxx -> sg_types.hxx
authorcurt <curt>
Tue, 26 Sep 2000 20:52:01 +0000 (20:52 +0000)
committercurt <curt>
Tue, 26 Sep 2000 20:52:01 +0000 (20:52 +0000)
simgear/math/fg_types.hxx [deleted file]
simgear/math/sg_types.hxx [new file with mode: 0644]

diff --git a/simgear/math/fg_types.hxx b/simgear/math/fg_types.hxx
deleted file mode 100644 (file)
index a0d8902..0000000
+++ /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 <simgear/compiler.h>
-
-#include STL_STRING
-#include <vector>
-
-#include <simgear/math/point3d.hxx>
-
-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 (file)
index 0000000..a0d8902
--- /dev/null
@@ -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 <simgear/compiler.h>
+
+#include STL_STRING
+#include <vector>
+
+#include <simgear/math/point3d.hxx>
+
+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
+