|
|
| version 1.28, 2012/03/16 09:24:08 | version 1.35, 2024/11/04 03:53:25 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b response parser class. | Parser: @b response parser class. |
| Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| #include "classes.h" | #include "classes.h" |
| Line 24 public: // Methoded | Line 24 public: // Methoded |
| // global variable | // global variable |
| DECLARE_CLASS_VAR(response, new MResponse, 0); | DECLARE_CLASS_VAR(response, new MResponse); |
| // methods | // methods |
| Line 36 static void _clear(Request& r, MethodPar | Line 36 static void _clear(Request& r, MethodPar |
| MResponse::MResponse(): Methoded("response") { | MResponse::MResponse(): Methoded("response") { |
| // ^clear[] | // ^clear[] |
| add_native_method("clear", Method::CT_DYNAMIC, _clear, 0, 0); | add_native_method("clear", Method::CT_STATIC, _clear, 0, 0); |
| } | } |