home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / OSERVER / BIBSVR.H$ / bibsvr
Encoding:
Text File  |  1992-03-07  |  1.1 KB  |  39 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. /////////////////////////////////////////////////////////////////////////////
  13.  
  14. #ifndef __AFXOLE_H__
  15. #include <afxole.h>
  16. #endif
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CBibServer:
  20.  
  21. class CBibServer : public COleServer
  22. {
  23. public:
  24.     CBibServer() : COleServer(FALSE)
  25.         { }
  26.  
  27.     void    SetLaunchEmbedded()
  28.             { m_bLaunchEmbedded = TRUE; }
  29.  
  30. protected:
  31. // Overridables for OLE Server requests
  32.     virtual COleServerDoc* OnOpenDoc(LPCSTR lpszDoc);
  33.     virtual COleServerDoc* OnCreateDoc(LPCSTR lpszClass, LPCSTR lpszDoc);
  34.     virtual COleServerDoc* OnEditDoc(LPCSTR lpszClass, LPCSTR lpszDoc);
  35. };
  36.  
  37. /////////////////////////////////////////////////////////////////////////////
  38.  
  39.