Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

  1. /*************************************************
  2. * cblocks.h *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. // cblocks.h : main header file for the BLOCK application
  8. //
  9. #ifndef __AFXWIN_H__
  10. #error include 'stdafx.h' before including this file for PCH
  11. #endif
  12. #include "resource.h" // main symbols
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CBlockApp:
  15. // See block.cpp for the implementation of this class
  16. //
  17. class CBlockDoc;
  18. class CBlockApp : public CWinApp
  19. {
  20. public:
  21. CBlockApp();
  22. void SetIdleEvent(CBlockDoc* pDoc)
  23. {m_pIdleDoc = pDoc;}
  24. // Overrides
  25. virtual BOOL InitInstance();
  26. virtual BOOL OnIdle(LONG lCount);
  27. // Implementation
  28. //{{AFX_MSG(CBlockApp)
  29. afx_msg void OnHelpRule();
  30. //}}AFX_MSG
  31. DECLARE_MESSAGE_MAP()
  32. private:
  33. CBlockDoc* m_pIdleDoc;
  34. };
  35. #define RANK_USER 5
  36. extern int GSpeed;
  37. /////////////////////////////////////////////////////////////////////////////