From 302a831599b5083a3284873a8f85b4a5c0ab8cd0 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 16 Nov 1998 13:57:42 +0000 Subject: [PATCH] Initial revision. --- Main/fg_serial.cxx | 268 +++++++++++++++++++++++++++++++++++++++++++++ Main/fg_serial.hxx | 72 ++++++++++++ 2 files changed, 340 insertions(+) create mode 100644 Main/fg_serial.cxx create mode 100644 Main/fg_serial.hxx diff --git a/Main/fg_serial.cxx b/Main/fg_serial.cxx new file mode 100644 index 000000000..54dfe2c33 --- /dev/null +++ b/Main/fg_serial.cxx @@ -0,0 +1,268 @@ +// fg_serial.cxx -- higher level serial port management routines +// +// Written by Curtis Olson, started November 1998. +// +// Copyright (C) 1998 Curtis L. Olson - curt@flightgear.org +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of the +// License, or (at your option) any later version. +// +// This program 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 +// General Public License for more details. +// +// 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. +// +// $Id$ +// (Log is kept at end of this file) + + +#include // atoi() +#include + +#include +#include +#include +#include +#include