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.

42 lines
722 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: goto.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. #pragma once
  11. class LTAPIENTRY CGoto : public CRefCount
  12. {
  13. public:
  14. CGoto() {};
  15. virtual void Edit() = 0;
  16. virtual BOOL Go() = 0;
  17. private:
  18. CGoto(const CGoto &);
  19. };
  20. #pragma warning(disable:4251)
  21. class LTAPIENTRY CShellGoto : public CGoto
  22. {
  23. public:
  24. CShellGoto(const TCHAR *szFileName);
  25. virtual void Edit();
  26. virtual BOOL Go();
  27. private:
  28. CLString m_strFileName;
  29. };
  30. #pragma warning(default:4251)