--- parser3/src/classes/response.C 2003/02/17 17:05:02 1.23.2.5 +++ parser3/src/classes/response.C 2004/02/11 15:33:12 1.26 @@ -1,16 +1,17 @@ /** @file Parser: @b response parser class. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_RESPONSE_C="$Date: 2003/02/17 17:05:02 $"; +static const char * const IDENT_RESPONSE_C="$Date: 2004/02/11 15:33:12 $"; #include "classes.h" #include "pa_vmethod_frame.h" #include "pa_request.h" +#include "pa_vresponse.h" // class @@ -23,11 +24,11 @@ public: // Methoded // global variable -MethodedPtr response_class(new MResponse); +DECLARE_CLASS_VAR(response, new MResponse, 0); // methods -static void _clear(Request& r, StringPtr method_name, MethodParams& ) { +static void _clear(Request& r, MethodParams&) { GET_SELF(r, VResponse).fields().clear(); }