From 7208b95d36b1db89829187225bd1ae832794af1f Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 23 May 2001 22:59:40 +0000 Subject: [PATCH] Initial revision. (Contributed by David Megginson) --- src/Input/Makefile.am | 5 + src/Input/input.cxx | 827 ++++++++++++++++++++++++++++++++++++++++++ src/Input/input.hxx | 184 ++++++++++ 3 files changed, 1016 insertions(+) create mode 100644 src/Input/Makefile.am create mode 100644 src/Input/input.cxx create mode 100644 src/Input/input.hxx diff --git a/src/Input/Makefile.am b/src/Input/Makefile.am new file mode 100644 index 000000000..7ee2ac39f --- /dev/null +++ b/src/Input/Makefile.am @@ -0,0 +1,5 @@ +noinst_LIBRARIES = libInput.a + +libInput_a_SOURCES = input.cxx input.hxx + +INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src diff --git a/src/Input/input.cxx b/src/Input/input.cxx new file mode 100644 index 000000000..a309b14d9 --- /dev/null +++ b/src/Input/input.cxx @@ -0,0 +1,827 @@ +// input.cxx -- handle user input from various sources. +// +// Written by David Megginson, started May 2001. +// +// Copyright (C) 2001 David Megginson, david@megginson.com +// +// 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$ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#include STL_FSTREAM +#include STL_STRING + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include