home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / TESTCLNT / NEWDOC.H$ / newdoc
Encoding:
Text File  |  1992-01-15  |  1.0 KB  |  40 lines

  1. // newdoc.h : This file contains prototypes for the CNewClientDoc class
  2. //              which inherits from the COleClientDoc class.
  3. //
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and Microsoft
  10. // QuickHelp documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. #ifndef __NEWDOC_H__
  15. #define __NEWDOC_H__
  16.  
  17. class CTestClient;
  18.  
  19. class CNewClientDoc : public COleClientDoc
  20. {
  21.     DECLARE_DYNAMIC(CNewClientDoc)
  22.  
  23. // Constructors and Destructors
  24. public:
  25.     CNewClientDoc(CTestClient* pParent);
  26.     CNewClientDoc() { m_pOwner = NULL; };
  27.     ~CNewClientDoc();
  28.  
  29. // implementations for pure virtual function(s)
  30.     virtual COleClientItem* GetNextItem(POSITION& rPosition, BOOL*);
  31.  
  32. // member variables
  33. protected:
  34.     CTestClient* m_pOwner;
  35. };
  36.  
  37. #endif  // __NEWDOC_H__
  38.  
  39.  
  40.