--- parser3/src/include/pa_request.h 2001/04/03 05:23:40 1.74 +++ parser3/src/include/pa_request.h 2001/04/06 10:32:18 1.78 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.h,v 1.74 2001/04/03 05:23:40 paf Exp $ + $Id: pa_request.h,v 1.78 2001/04/06 10:32:18 paf Exp $ */ #ifndef PA_REQUEST_H @@ -23,6 +23,7 @@ #include "pa_vrequest.h" #include "pa_vresponse.h" #include "pa_vcookie.h" +#include "pa_sql_driver_manager.h" #ifndef NO_STRING_ORIGIN # define COMPILE_PARAMS \ @@ -142,8 +143,8 @@ public: /// info from web server Info& info; - /// default base - VClass ROOT; + /// operators are methods of this class + VClass OP; /// $env:fields here VEnv env; /// $form:elements here @@ -163,6 +164,11 @@ public: /// contexts WContext *wcontext; + /// connection + SQL_Connection *connection; + /// table of protocol's libraries. read from $SQL:drivers + Table *protocol2library; + private: // core data // classes @@ -209,7 +215,7 @@ private: // lang manipulation 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.