home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / hierwiz / template / root.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  1KB  |  52 lines

  1. // $$root$$.h : main header file for the $$ROOT$$ application
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13.  
  14. #ifndef __AFXWIN_H__
  15.     #error include 'stdafx.h' before including this file for PCH
  16. #endif
  17.  
  18. #include "resource.h"       // main symbols
  19.  
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CServerApp:
  22. // See $$root$$.cpp for the implementation of this class
  23. //
  24.  
  25. class CServerApp : public CWinApp
  26. {
  27. public:
  28.     CServerApp();
  29.  
  30. // Document view(s).
  31. $$IF(WANTS_TEXTVIEW)
  32.     CDocTemplate* pDocTxtTemplate;
  33. $$ENDIF //WANTS_TEXTVIEW
  34.     CDocTemplate* pDocTemplate ;
  35. // Overrides
  36.     virtual BOOL InitInstance();
  37.     virtual int ExitInstance();
  38.  
  39. // Implementation
  40. protected:
  41.     COleTemplateServer m_server;
  42.     int m_iWantDefDoc ;
  43.     CString m_DefaultDoc ;
  44.  
  45.     //{{AFX_MSG(CServerApp)
  46.     afx_msg void OnAppAbout();
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.