QGISDoc.h
资源名称:QGIS.rar [点击查看]
上传用户:oybseng
上传日期:2015-04-27
资源大小:7831k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // QGISDoc.h : interface of the CQGISDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_QGISDOC_H__1238847A_5523_44D7_9F34_ED19126872EC__INCLUDED_)
- #define AFX_QGISDOC_H__1238847A_5523_44D7_9F34_ED19126872EC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CQGISView;
- class CQMapObj;
- class CQGISDoc : public CDocument
- {
- protected: // create from serialization only
- CQGISDoc();
- DECLARE_DYNCREATE(CQGISDoc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CQGISDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CQGISDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- public:
- CQGISView * GetActiveView();
- CQMapObj * m_pMap; //地图对象
- HCURSOR m_hCursorPrev; //前一光标
- HCURSOR m_hCursorCur; //当前光标
- UINT m_MenuItemID; //记录当前操作
- CQGISView * m_pView;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CQGISDoc)
- afx_msg void OnFileSave();
- afx_msg void OnFileOpen();
- afx_msg void OnMenuExportPointsQgis();
- afx_msg void OnMenuImportPointsQgis();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_QGISDOC_H__1238847A_5523_44D7_9F34_ED19126872EC__INCLUDED_)