--- parser3/src/classes/response.C 2003/02/14 12:59:09 1.23.2.4 +++ parser3/src/classes/response.C 2012/03/16 09:24:08 1.28 @@ -1,20 +1,21 @@ /** @file Parser: @b response parser class. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_RESPONSE_C="$Date: 2003/02/14 12:59:09 $"; - #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.28 2012/03/16 09:24:08 moko Exp $"; // class -class MResponse : public Methoded { +class MResponse: public Methoded { public: MResponse(); public: // Methoded @@ -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(); }