home *** CD-ROM | disk | FTP | other *** search
- /////////////////////////////////////////////////////////////////////////////
- //
- // SVDoc.h : Interface of the CSVViewerDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- //
- // (C) Copyright Black Diamond Consulting, Inc 1996. All rights reserved.
- //
- // You have a royalty-free right to use, modify, reproduce and
- // distribute the Sample Files (and/or any modified version) in
- // any way you find useful, provided that you agree that Black
- // Diamond Consulting has no warranty obligations or liability
- // for any Sample Application Files which are modified.
- //
- // Revision History:
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #define __SVDOC_H__
-
- #ifndef _Surround_H_
- #include "Surround.h"
- #endif
-
- #ifndef __CHOTSPOT_H__
- #include "CHotspot.h"
- #endif
-
- class CSVViewerDoc : public CDocument
- {
- private:
- ISurround* m_pISurround; // SV object
- IStorage* m_pIStorage;
- CHotspotList m_hotspots; // Hotspot list
-
- protected: // create from serialization only
- CSVViewerDoc();
- DECLARE_DYNCREATE(CSVViewerDoc)
- BOOL IsOverwriteable( LPCTSTR pszPathName );
- HRESULT OpenStorage( LPCTSTR pszPathName, LPSTORAGE* ppIStorage, BOOL bCreate );
- CView* GetSVView(void);
-
- public: // Accessors
- ISurround* GetISurround() { return m_pISurround; }
- CHotspotList* GetHotspotList() { return &m_hotspots; }
-
- public: // Operations
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSVViewerDoc)
- public:
- virtual void DeleteContents();
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- virtual void OnCloseDocument();
- virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
- // Generated message map functions
- //{{AFX_MSG(CSVViewerDoc)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- ////////////////////////////////////////////////////////////////////////////
-
-