--- parser3/src/classes/response.C 2004/02/11 15:33:12 1.26 +++ parser3/src/classes/response.C 2024/11/04 03:53:25 1.35 @@ -1,18 +1,18 @@ /** @file Parser: @b response parser class. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ -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" +volatile const char * IDENT_RESPONSE_C="$Id: response.C,v 1.35 2024/11/04 03:53:25 moko Exp $"; + // class class MResponse: public Methoded { @@ -24,7 +24,7 @@ public: // Methoded // global variable -DECLARE_CLASS_VAR(response, new MResponse, 0); +DECLARE_CLASS_VAR(response, new MResponse); // methods @@ -36,5 +36,5 @@ static void _clear(Request& r, MethodPar MResponse::MResponse(): Methoded("response") { // ^clear[] - add_native_method("clear", Method::CT_DYNAMIC, _clear, 0, 0); + add_native_method("clear", Method::CT_STATIC, _clear, 0, 0); }