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.

59 lines
1.5 KiB

  1. // shimgvwr.h : main header file for the SHIMGVWR application
  2. //
  3. #if !defined(AFX_SHIMGVWR_H__2C976141_B6D5_4641_A0A7_93C149CE4993__INCLUDED_)
  4. #define AFX_SHIMGVWR_H__2C976141_B6D5_4641_A0A7_93C149CE4993__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. #include "resource.h" // main symbols
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CPreviewApp:
  14. // See shimgvwr.cpp for the implementation of this class
  15. //
  16. class CPreviewApp : public CWinApp
  17. {
  18. public:
  19. CPreviewApp();
  20. ~CPreviewApp();
  21. HANDLE m_hFileMap;
  22. BOOL DoPromptFileName( CString& fileName, UINT nIDSTitle, DWORD lFlags,
  23. BOOL bOpenFileDialog );
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CPreviewApp)
  27. public:
  28. virtual BOOL InitInstance();
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. //{{AFX_MSG(CPreviewApp)
  32. afx_msg void OnAppAbout();
  33. //}}AFX_MSG
  34. DECLARE_MESSAGE_MAP()
  35. private:
  36. bool PrevInstance (const CString &strFile);
  37. afx_msg void OnFileOpen ();
  38. };
  39. /////////////////////////////////////////////////////////////////////////////
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_SHIMGVWR_H__2C976141_B6D5_4641_A0A7_93C149CE4993__INCLUDED_)