~zorba-coders/zorba/bugs-912586-912593-912722

« back to all changes in this revision

Viewing changes to modules/com/zorba-xquery/www/modules/http-client.xq.src/request_parser.h

  • Committer: Cezar Andrei
  • Date: 2012-03-28 15:42:12 UTC
  • mfrom: (10606.1.129 zorba)
  • Revision ID: cezar.lp@cezarandrei.com-20120328154212-jh2heq49xcqjppce
Merge from trunck and resolve ChangeLog conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
namespace http_client {
23
23
class RequestHandler;
 
24
class ErrorThrower;
24
25
 
25
26
class RequestParser {
26
27
protected:
27
28
  RequestHandler* theHandler;
 
29
  ErrorThrower*   theThrower;
28
30
 
29
31
public:
30
 
  RequestParser(RequestHandler* aHandler) : theHandler(aHandler) {}
 
32
  RequestParser(RequestHandler* aHandler, ErrorThrower& aThrower) : theHandler(aHandler), theThrower(&aThrower) {}
31
33
  bool parse(const Item& aItem);
32
34
 
33
35
private: