home *** CD-ROM | disk | FTP | other *** search
/ Using Visual Basic 5 (Platinum Edition) / vb5.iso / ACTIVEX / SRDVID / DATA.1 / svdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-10  |  1.6 KB  |  63 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. //    SVDoc.h : Interface of the CSVViewerDoc class
  4. //
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. //  (C) Copyright Black Diamond Consulting, Inc 1996. All rights reserved.
  8. //
  9. //    You have a royalty-free right to use, modify, reproduce and 
  10. //    distribute the Sample Files (and/or any modified version) in 
  11. //    any way you find useful, provided that you agree that Black 
  12. //    Diamond Consulting has no warranty obligations or liability
  13. //    for any Sample Application Files which are modified. 
  14. //
  15. //    Revision History:
  16. //
  17. /////////////////////////////////////////////////////////////////////////////
  18.  
  19. #define __SVDOC_H__
  20.  
  21. #ifndef _Surround_H_
  22.     #include "Surround.h"
  23. #endif
  24.  
  25. class CSVViewerDoc : public CDocument
  26. {
  27. private:
  28.     ISurround* m_pISurround;        // SV object
  29.     IStorage* m_pIStorage;
  30.  
  31. protected: // create from serialization only
  32.     CSVViewerDoc();
  33.     DECLARE_DYNCREATE(CSVViewerDoc)
  34.  
  35.     CView* GetSVView(void);
  36.  
  37. // Operations
  38. public:
  39.     ISurround* GetISurround()        { return m_pISurround; }
  40.  
  41.     virtual void DeleteContents();
  42.  
  43. // Overrides       
  44.     // ClassWizard generated virtual function overrides
  45.     //{{AFX_VIRTUAL(CSVViewerDoc)
  46.     public:
  47.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  48.     //}}AFX_VIRTUAL
  49.  
  50. // Implementation
  51. public:
  52. #ifdef _DEBUG
  53.     virtual void AssertValid() const;
  54.     virtual void Dump(CDumpContext& dc) const;
  55. #endif
  56.  
  57. protected:
  58. // Generated message map functions
  59.     //{{AFX_MSG(CSVViewerDoc)
  60.     //}}AFX_MSG
  61.     DECLARE_MESSAGE_MAP()
  62. };
  63.