yhook: move ctor/dtor to cpp

Origin commit data
------------------
Commit: 07b39de268
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- yhook: move ctor/dtor to cpp
This commit is contained in:
vanhofen
2016-02-20 09:07:50 +01:00
parent caee20b1ad
commit f3bba7968d
2 changed files with 25 additions and 3 deletions

View File

@@ -123,6 +123,9 @@ class CyhookHandler
protected:
static THookList HookList;
public:
CyhookHandler();
~CyhookHandler();
// Output
std::string yresult; // content for response output
THandleStatus status; // status of Hook handling
@@ -144,9 +147,6 @@ public:
CStringList WebserverConfigList; // Reference (writable) to ConfigList
CStringList HookVarList; // Variables in Hook-Handling passing to other Hooks
THttp_Method Method; // HTTP Method (requested)
// constructor & deconstructor
CyhookHandler(){ContentLength = 0; RangeStart = 0; RangeEnd = -1; cached = false; keep_alive = 0; _outIndent = 0;status = HANDLED_NONE;Method = M_UNKNOWN;httpStatus = HTTP_NIL;outType = plain;LastModified=0;};
virtual ~CyhookHandler(){};
// hook slot handler
static void attach(Cyhook *yh) // attach a Hook-Class to HookHandler