Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cHttpScriptedController.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cHttpScriptedController_H
7 #define _INC_cHttpScriptedController_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
12 #include "cHttpController.h"
13 
14 namespace GrayLib
15 {
17 
18  MIDL_INTERFACE("0C3E2E71-B93C-11d2-AAD0-006007654304") IScriptableObj;
19 
20  class GRAYLIB_LINK cHttpScriptedController : public cHttpControllerFileDir
21  {
25  typedef cHttpControllerFileDir SUPER_t;
26 
27  public:
29 
30  public:
32  : cHttpControllerFileDir(sURLPrefix, sLocalDir)
33  , m_pRoot(pRoot)
34  {
35  }
37  {
38  }
39  virtual HTTPRET_TYPE OnVerb(cHttpProtocolStreamBase* pClient, const cHttpHeaderClient& request, cStringA sURLReq) override;
40 
42  };
43 };
44 
45 #endif // _INC_cHttpScriptedController_H
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
Definition: cHttpController.h:21
Definition: cHttpHeader.h:137
Definition: cHttpProtocolStream.h:22
Definition: cHttpScriptedController.h:21
UNITTEST_FRIEND(cHttpScriptedController)
cHttpScriptedController(cStringA sURLPrefix, cStringF sLocalDir, IScriptableObj *pRoot)
Definition: cHttpScriptedController.h:31
virtual ~cHttpScriptedController()
Definition: cHttpScriptedController.h:36
IScriptableObj * m_pRoot
'Root' object to parse <?Root.STUFF?> in ".cshtml" files.
Definition: cHttpScriptedController.h:28
Definition: IScriptableObj.h:71
Definition: cMesh.h:22
HTTPRET_TYPE
Definition: cHttpCommon.h:24
UNITTEST2_PREDEF(cQuadtree)
MIDL_INTERFACE("0C3E2E71-B93C-11d2-AAD0-006007654304") IScriptableObj