home *** CD-ROM | disk | FTP | other *** search
/ distrib.akp.su/Programming/Vb-6+Rus/ / distrib.akp.su.tar / distrib.akp.su / Programming / Vb-6+Rus / COMMON / MSDEV98 / BIN / IDE / INETAWZ.AWX / TEMPLATE / MAIN.H < prev    next >
C/C++ Source or Header  |  1998-06-18  |  3KB  |  98 lines

  1. #if !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)
  2. #define $$FILE_NAME_SYMBOL$$_INCLUDED_
  3.  
  4. $$IF(GenFilter)
  5. $$IF(GenExtension)
  6. // $$ROOT$$.H - Header file for your Internet Server
  7. //    $$FilterDesc$$ and $$ExtensionDesc$$
  8. $$ELSE
  9. // $$ROOT$$.H - Header file for your Internet Server
  10. //    $$FilterDesc$$
  11. $$ENDIF
  12. $$ELSE
  13. // $$ROOT$$.H - Header file for your Internet Server
  14. //    $$ExtensionDesc$$
  15. $$ENDIF
  16.  
  17. #include "resource.h"
  18.  
  19. $$IF(GenExtension)
  20. class $$ExtensionClass$$ : public CHttpServer
  21. {
  22. public:
  23.     $$ExtensionClass$$();
  24.     ~$$ExtensionClass$$();
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28. $$IF(VERBOSE)
  29.         // NOTE - the ClassWizard will add and remove member functions here.
  30.         //    DO NOT EDIT what you see in these blocks of generated code !
  31. $$ENDIF
  32.     //{{AFX_VIRTUAL($$ExtensionClass$$)
  33.     public:
  34.     virtual BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
  35.     //}}AFX_VIRTUAL
  36.     virtual BOOL TerminateExtension(DWORD dwFlags);
  37.  
  38.     // TODO: Add handlers for your commands here.
  39.     // For example:
  40.  
  41.     void Default(CHttpServerContext* pCtxt);
  42.  
  43.     DECLARE_PARSE_MAP()
  44.  
  45.     //{{AFX_MSG($$ExtensionClass$$)
  46.     //}}AFX_MSG
  47. };
  48. $$ENDIF
  49.  
  50. $$IF(GenFilter)
  51. class $$FilterClass$$ : public CHttpFilter
  52. {
  53. public:
  54.     $$FilterClass$$();
  55.     ~$$FilterClass$$();
  56.  
  57. // Overrides
  58.     // ClassWizard generated virtual function overrides
  59. $$IF(VERBOSE)
  60.         // NOTE - the ClassWizard will add and remove member functions here.
  61.         //    DO NOT EDIT what you see in these blocks of generated code !
  62. $$ENDIF
  63.     //{{AFX_VIRTUAL($$FilterClass$$)
  64.     public:
  65.     virtual BOOL GetFilterVersion(PHTTP_FILTER_VERSION pVer);
  66. $$IF(NotifyPreproc)
  67.     virtual DWORD OnPreprocHeaders(CHttpFilterContext* pCtxt, PHTTP_FILTER_PREPROC_HEADERS pHeaderInfo);
  68. $$ENDIF
  69. $$IF(NotifyAuthenticate)
  70.     virtual DWORD OnAuthentication(CHttpFilterContext* pCtxt, PHTTP_FILTER_AUTHENT pAuthent);
  71. $$ENDIF
  72. $$IF(NotifyURLMap)
  73.     virtual DWORD OnUrlMap(CHttpFilterContext* pCtxt, PHTTP_FILTER_URL_MAP pMapInfo);
  74. $$ENDIF
  75. $$IF(NotifySendRaw)
  76.     virtual DWORD OnSendRawData(CHttpFilterContext* pCtxt, PHTTP_FILTER_RAW_DATA pRawData);
  77. $$ENDIF
  78. $$IF(NotifyReadRaw)
  79.     virtual DWORD OnReadRawData(CHttpFilterContext* pCtxt, PHTTP_FILTER_RAW_DATA pRawData);
  80. $$ENDIF
  81. $$IF(NotifyLog)
  82.     virtual DWORD OnLog(CHttpFilterContext* pfc, PHTTP_FILTER_LOG pLog);
  83. $$ENDIF
  84. $$IF(NotifyEnd)
  85.     virtual DWORD OnEndOfNetSession(CHttpFilterContext* pCtxt);
  86. $$ENDIF
  87.     //}}AFX_VIRTUAL
  88.  
  89.     //{{AFX_MSG($$FilterClass$$)
  90.     //}}AFX_MSG
  91. };
  92. $$ENDIF
  93.  
  94. //{{AFX_INSERT_LOCATION}}
  95. // $$INSERT_LOCATION_COMMENT$$
  96.  
  97. #endif // !defined($$FILE_NAME_SYMBOL$$_INCLUDED)
  98.