|
|
| version 1.71, 2001/03/28 14:41:29 | version 1.78, 2001/04/06 10:32:18 |
|---|---|
| Line 23 | Line 23 |
| #include "pa_vrequest.h" | #include "pa_vrequest.h" |
| #include "pa_vresponse.h" | #include "pa_vresponse.h" |
| #include "pa_vcookie.h" | #include "pa_vcookie.h" |
| #include "pa_sql_driver_manager.h" | |
| #ifndef NO_STRING_ORIGIN | #ifndef NO_STRING_ORIGIN |
| # define COMPILE_PARAMS \ | # define COMPILE_PARAMS \ |
| Line 104 public: | Line 105 public: |
| /// appending, sure of clean string inside | /// appending, sure of clean string inside |
| void write_no_lang(const String& astring) { | void write_no_lang(const String& astring) { |
| wcontext->write(astring, String::UL_NO); | wcontext->write(astring, String::UL_CLEAN); |
| } | } |
| /// appending string, passing language built into string being written | /// appending string, passing language built into string being written |
| void write_pass_lang(const String& astring) { | void write_pass_lang(const String& astring) { |
| Line 120 public: | Line 121 public: |
| } | } |
| /// appending sure value, that would be converted to clean string | /// appending sure value, that would be converted to clean string |
| void write_no_lang(Value& avalue) { | void write_no_lang(Value& avalue) { |
| wcontext->write(avalue, String::UL_NO); | wcontext->write(avalue, String::UL_CLEAN); |
| } | } |
| /// appending sure value, not VString | /// appending sure value, not VString |
| void write_expr_result(Value& avalue) { | void write_expr_result(Value& avalue) { |
| Line 142 public: | Line 143 public: |
| /// info from web server | /// info from web server |
| Info& info; | Info& info; |
| /// default base | /// operators are methods of this class |
| VClass ROOT; | VClass OP; |
| /// $env:fields here | /// $env:fields here |
| VEnv env; | VEnv env; |
| /// $form:elements here | /// $form:elements here |
| Line 163 public: | Line 164 public: |
| /// contexts | /// contexts |
| WContext *wcontext; | WContext *wcontext; |
| /// connection | |
| SQL_Connection *connection; | |
| /// table of protocol's libraries. read from $SQL:drivers | |
| Table *protocol2library; | |
| private: // core data | private: // core data |
| // classes | // classes |
| Line 209 private: // lang manipulation | Line 215 private: // lang manipulation |
| private: | private: |
| void output_result(const String& body_string, bool header_only); | void output_result(const VFile& body_file, bool header_only); |
| }; | }; |
| /// Auto-object used for temporary changing Request::flang. | /// Auto-object used for temporary changing Request::flang. |