1 #ifndef _RUNWAY_PREF_LOADER_HXX_
2 #define _RUNWAY_PREF_LOADER_HXX_
7 #include <simgear/compiler.h>
8 #include <simgear/xml/easyxml.hxx>
10 #include "runwayprefs.hxx"
14 class FGRunwayPreferenceXMLLoader : public XMLVisitor {
16 FGRunwayPreferenceXMLLoader(FGRunwayPreference* p);
19 virtual void startXML ();
20 virtual void endXML ();
21 virtual void startElement (const char * name, const XMLAttributes &atts);
22 virtual void endElement (const char * name);
23 virtual void data (const char * s, int len);
24 virtual void pi (const char * target, const char * data);
25 virtual void warning (const char * message, int line, int column);
26 virtual void error (const char * message, int line, int column);
28 time_t processTime(const string &tme);
31 FGRunwayPreference* _pref;
36 ScheduleTime currTimes; // Needed for parsing;