Leaked source code of windows server 2003
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.

46 lines
855 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: gotohelp.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. class LTAPIENTRY CGotoHelp : public CRefCount
  11. {
  12. public:
  13. virtual void Edit() = 0;
  14. virtual BOOL GotoHelp() = 0;
  15. };
  16. class LTAPIENTRY CEspGotoHelp : public CGotoHelp
  17. {
  18. public:
  19. explicit CEspGotoHelp(UINT uiHelpId);
  20. virtual void Edit();
  21. virtual BOOL GotoHelp();
  22. private:
  23. UINT m_uiHelpId;
  24. };
  25. class LTAPIENTRY CExternalGotoHelp : public CGotoHelp
  26. {
  27. public:
  28. CExternalGotoHelp(const TCHAR *szFileName, UINT uiHelpId);
  29. virtual void Edit();
  30. virtual BOOL GotoHelp();
  31. private:
  32. CLString m_strFileName;
  33. UINT m_uiHelpId;
  34. };