--- parser3/src/classes/xnode.h 2001/09/26 15:43:59 1.2 +++ parser3/src/classes/xnode.h 2002/01/28 10:33:52 1.7 @@ -2,15 +2,14 @@ Parser: @b dnode methods class - MDnode class decl. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: xnode.h,v 1.2 2001/09/26 15:43:59 parser Exp $ + $Id: xnode.h,v 1.7 2002/01/28 10:33:52 paf Exp $ */ #ifndef XNODE_H #define XNODE_H -#include class MXnode : public Methoded { public: // Value @@ -30,7 +29,7 @@ public: // Value public: // VStateless_class - Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool); } + Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); } public: MXnode(Pool& pool); @@ -43,4 +42,9 @@ private: Hash consts; }; +#define gdome_xml_doc_get_xmlDoc(dome_doc) ((_Gdome_xml_Document *)dome_doc)->n; + +GdomeNode *as_node(Pool& pool, const String& method_name, MethodParams *params, + int index, const char *msg); + #endif