home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / OSERVER / BIBREF.H$ / bibref
Encoding:
Text File  |  1992-03-16  |  1.2 KB  |  47 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and Microsoft
  7. // QuickHelp documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11.  
  12. // bibref.cpp : OLE Server for Bibliographic reference
  13.  
  14. #define SERVER_NAME         "BibRef"
  15. #define SERVER_LOCAL_NAME   "Bibliographical Reference"
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18.  
  19. #include <afxwin.h>
  20. #include "resource.h"
  21.  
  22. /////////////////////////////////////////////////////////////////////////////
  23.  
  24. class CBibApp : public CWinApp
  25. {
  26. public:
  27.     CBibApp() : CWinApp(SERVER_NAME)
  28.         { }
  29.  
  30. // Attributes
  31.     CString strIniFile;
  32.  
  33. // Operations
  34.     void ShutDown();
  35.  
  36. // Implementation
  37.     virtual BOOL InitInstance();
  38.     virtual int ExitInstance();
  39. };
  40.  
  41. /////////////////////////////////////////////////////////////////////////////
  42. // Globals
  43.  
  44. extern CBibApp app;
  45.  
  46. /////////////////////////////////////////////////////////////////////////////
  47.