--- parser3/src/classes/response.C 2003/02/17 17:05:02 1.23.2.5 +++ parser3/src/classes/response.C 2015/10/26 01:21:54 1.29 @@ -1,16 +1,17 @@ /** @file Parser: @b response parser class. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_RESPONSE_C="$Date: 2003/02/17 17:05:02 $"; - #include "classes.h" #include "pa_vmethod_frame.h" #include "pa_request.h" +#include "pa_vresponse.h" + +volatile const char * IDENT_RESPONSE_C="$Id: response.C,v 1.29 2015/10/26 01:21:54 moko Exp $"; // 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(); }