00001 /* Copyright (C) 2002 Carsten Griwodz 00002 * 00003 * You are allowed to use all other parts of the code under the following terms: 00004 * 00005 * For non-commercial use, this code may be used in unmodified form 00006 * provided that this copyright notice and this permission notice appear 00007 * in supporting documentation. 00008 * 00009 * The code may be made subject to the terms of the GNU General Public 00010 * License, Version 2, and re-distributed under the terms of this license. 00011 * 00012 * Commercial use other than under the terms of the GNU General Public 00013 * License is allowed only after negotiation of conditions with the authors. 00014 */ 00015 #ifndef EXPAT_DEPRECATED_H 00016 #define EXPAT_DEPRECATED_H 00017 00018 #include "EConfBase.h" 00019 00024 struct EConfDeprecated : public EConfBase 00025 { 00026 char* _noname; 00027 char* _comment; 00028 public: 00029 EConfDeprecated( const char* name, const char* comment ); 00030 00031 virtual ~EConfDeprecated( ); 00032 virtual bool start_child_element( const char* name, const char** atts, XML_Parser p ); 00033 virtual bool end_child_element( const char* name, XML_Parser p ); 00034 virtual bool begin_parse( const char* name, const char** atts, XML_Parser p ); 00035 virtual bool end_parse( const char* name, XML_Parser p ); 00036 virtual void dump( int depth, ostream& ostr, bool complete ); 00037 private: 00038 EConfDeprecated( ); 00039 EConfDeprecated( const EConfDeprecated& ); 00040 EConfDeprecated& operator=( const EConfDeprecated& ); 00041 }; 00042 00044 00045 #endif /* EXPAT_DEPRECATED_H */ 00046