home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c14 / lab02 / ex03 / echo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.3 KB  |  46 lines

  1. #if !defined(ECHO_H__C218D1E6_2BF6_11D0_9C9B_000000000000__INCLUDED_)
  2. #define ECHO_H__C218D1E6_2BF6_11D0_9C9B_000000000000__INCLUDED_
  3.  
  4. // ECHO.H - Header file for your Internet Server
  5. //    Echo ISAPI App
  6.  
  7. #include "resource.h"
  8.  
  9. class CEchoExtension : public CHttpServer
  10. {
  11. public:
  12.     CEchoExtension();
  13.     ~CEchoExtension();
  14.  
  15. // Overrides
  16.     // ClassWizard generated virtual function overrides
  17.         // NOTE - the ClassWizard will add and remove member functions here.
  18.         //    DO NOT EDIT what you see in these blocks of generated code !
  19.     //{{AFX_VIRTUAL(CEchoExtension)
  20.     public:
  21.     virtual BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
  22.     //}}AFX_VIRTUAL
  23.  
  24.     // TODO: Add handlers for your commands here.
  25.     // For example:
  26.     void Default(CHttpServerContext* pCtxt);
  27.     void EchoRequest(CHttpServerContext *pCtxt, LPCTSTR pstrOption);
  28.  
  29.     DECLARE_PARSE_MAP()
  30.  
  31.     //{{AFX_MSG(CEchoExtension)
  32.     //}}AFX_MSG
  33.  
  34.     protected:
  35.     void EchoHelp(CHttpServerContext * pCtxt);
  36.     void BadSyntax(CHttpServerContext * pCtxt);
  37.     void EchoHead(CHttpServerContext * pCtxt);
  38.     void EchoBody(CHttpServerContext * pCtxt);
  39. };
  40.  
  41.  
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  44.  
  45. #endif // !defined(ECHO_H__C218D1E6_2BF6_11D0_9C9B_000000000000__INCLUDED)
  46.