--- parser3/src/classes/xnode.h 2002/10/31 15:01:53 1.17 +++ parser3/src/classes/xnode.h 2003/01/31 12:34:28 1.18.2.2 @@ -1,14 +1,14 @@ /** @file Parser: @b dnode methods class - MDnode class decl. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef XNODE_H #define XNODE_H -static const char* IDENT_XNODE_H="$Date: 2002/10/31 15:01:53 $"; +static const char* IDENT_XNODE_H="$Date: 2003/01/31 12:34:28 $"; class MXnode : public Methoded { public: // Value @@ -28,10 +28,10 @@ public: // Value public: // VStateless_class - Value *create_new_value(Pool& pool) { return new(pool) VXnode(pool, 0); } + ValuePtr create_new_value() { return ValuePtr(new VXnode(0); } public: - MXnode(Pool& pool, const char *aname=0, VStateless_class *abase=0); + MXnode(Pool& pool, const char* aname=0, VStateless_class *abase=0); public: // Methoded bool used_directly() { return true; } @@ -44,6 +44,6 @@ private: #define gdome_xml_doc_get_xmlDoc(dome_doc) ((_Gdome_xml_Document *)dome_doc)->n; GdomeNode *as_node(const String& method_name, MethodParams *params, - int index, const char *msg); + int index, const char* msg); #endif