]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/lfsglass.hxx
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / Network / lfsglass.hxx
index c3c7276567dc47a1209da17940b4fac918503ae5..2f102cdefd66555294f801df77ff1c6ade714c10 100644 (file)
@@ -19,7 +19,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 
 
 
 #include <string>
 
-#include <FDM/flight.hxx>
 #include <Main/fg_props.hxx>
 
 #include "protocol.hxx"
 #include "lfsglass_data.hxx"
 
-class FGLFSGlass : public FGProtocol, public FGInterface {
+class FGLFSGlass : public FGProtocol {
 
     FGLFSGlassData buf;
-    int length;
     
     // Environment
     SGPropertyNode_ptr press_node;
@@ -155,7 +153,7 @@ public:
     // close the channel
     bool close();
 
-    void collect_data( const FGInterface *fdm, FGLFSGlassData *data );
+    void collect_data(FGLFSGlassData *data );
 };
 
 #endif // _FG_LFSGlass_HXX