home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / mfcplay.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-08  |  1.8 KB  |  67 lines

  1. //==========================================================================;
  2. //
  3. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. //  PURPOSE.
  7. //
  8. //  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // player.h : main header file for the PLAYER application
  13. //
  14.  
  15. #ifndef __AFXWIN_H__
  16.     #error include 'stdafx.h' before including this file for PCH
  17. #endif
  18.  
  19. #include "resource.h"       // main symbols
  20.  
  21. // Message to wake up our application
  22. #define WM_WAKEUP WM_USER
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CPlayerApp:
  26. // See player.cpp for the implementation of this class
  27. //
  28.  
  29. class CPlayerDoc;
  30.  
  31. class CPlayerApp : public CWinApp
  32. {
  33. public:
  34.     CPlayerApp();
  35.  
  36. // Overrides
  37.     // ClassWizard generated virtual function overrides
  38.     //{{AFX_VIRTUAL(CPlayerApp)
  39.     public:
  40.     virtual BOOL InitInstance();
  41.         virtual int ExitInstance();
  42.     virtual int Run();
  43.     //}}AFX_VIRTUAL
  44.  
  45. // Notify when document created / destroyed
  46. public:
  47.     void OnDocumentCreated( CPlayerDoc *pPlayerDoc );
  48.     void OnDocumentDestroyed( CPlayerDoc *pPlayerDoc );
  49.  
  50. // Point to our single document
  51. protected:
  52.     CPlayerDoc *m_pPlayerDoc;
  53.  
  54. public:
  55. // Implementation
  56.  
  57.     //{{AFX_MSG(CPlayerApp)
  58.     afx_msg void OnAppAbout();
  59.         // NOTE - the ClassWizard will add and remove member functions here.
  60.         //    DO NOT EDIT what you see in these blocks of generated code !
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.  
  65.  
  66. /////////////////////////////////////////////////////////////////////////////
  67.