home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / internet / counter / counter.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.1 KB  |  35 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // counter.h : Defines the initialization routines for the DLL.
  3. //
  4. // Written by Jeff Miller
  5. // of Microsoft Product Support Services, Languages Developer Support
  6. //
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1998 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and related
  13. // electronic documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. class CCounterExtension : public CHttpServer
  18. {
  19. public:
  20.     CCounterExtension();
  21.     ~CCounterExtension();
  22.  
  23.     BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
  24.  
  25.     void Default(CHttpServerContext* pCtxt);
  26.     void Clock(CHttpServerContext* pCtxt);
  27.  
  28.     DECLARE_PARSE_MAP()
  29.  
  30. private:
  31.     CMapStringToString m_Paths;
  32.     int GetPageCount(CString& szPage);
  33.     void OutputXBM(CHttpServerContext* pCtxt, CString& szDigits);
  34. };
  35.