2007-07-05 19:00:59 +00:00
|
|
|
// 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
//
|
|
|
|
|
2007-07-04 17:39:03 +00:00
|
|
|
#ifndef _XML_LOADER_HXX_
|
|
|
|
#define _XML_LOADER_HXX_
|
|
|
|
|
|
|
|
#include <simgear/xml/easyxml.hxx>
|
|
|
|
|
|
|
|
class FGAirportDynamics;
|
|
|
|
class FGRunwayPreference;
|
2009-03-08 17:14:05 +00:00
|
|
|
class FGSidStar;
|
2007-07-04 17:39:03 +00:00
|
|
|
|
|
|
|
|
2009-01-30 18:48:44 +00:00
|
|
|
|
2007-07-04 17:39:03 +00:00
|
|
|
class XMLLoader {
|
|
|
|
public:
|
|
|
|
XMLLoader();
|
|
|
|
~XMLLoader();
|
2009-01-30 18:48:44 +00:00
|
|
|
static string expandICAODirs(const string in);
|
2007-07-04 17:39:03 +00:00
|
|
|
static void load(FGRunwayPreference* p);
|
2009-03-08 17:14:05 +00:00
|
|
|
static void load(FGAirportDynamics* d);
|
|
|
|
static void load(FGSidStar* s);
|
2007-07-04 17:39:03 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|