ConvDwg2Kmg.h
上传用户:hell82222
上传日期:2013-12-19
资源大小:1872k
文件大小:2k
- #if !defined(AFX_CONVDWG2KMG_H__C4AA9747_3C6A_47F9_9870_24F73807CA20__INCLUDED_)
- #define AFX_CONVDWG2KMG_H__C4AA9747_3C6A_47F9_9870_24F73807CA20__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ConvDwg2Kmg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CConvDwg2Kmg command target
- #include "ProgressInfo.h"
- #include "DwgReader.h"
- #include "KmgConverter.h"
- class CConvDwg2Kmg : public CCmdTarget
- {
- DECLARE_DYNCREATE(CConvDwg2Kmg)
- CConvDwg2Kmg(); // protected constructor used by dynamic creation
- // Attributes
- public:
- CProgressInfo* m_pProgress;
- CCommandInfo* m_pCommand;
- CDwgReader* m_pReader;
- CKmgConverter* m_pConverter;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CConvDwg2Kmg)
- public:
- virtual void OnFinalRelease();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CConvDwg2Kmg();
- // Generated message map functions
- //{{AFX_MSG(CConvDwg2Kmg)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- DECLARE_OLECREATE(CConvDwg2Kmg)
- // Generated OLE dispatch map functions
- //{{AFX_DISPATCH(CConvDwg2Kmg)
- afx_msg BOOL BeginConverter(LPCTSTR strRegistryKey);
- afx_msg BOOL EndConverter();
- afx_msg BOOL ConverterDwg2Kmg(LPCTSTR strDwgFilename, LPCTSTR strKmgFilename, long hwnd);
- afx_msg BOOL GetProgressInfo(double FAR* pdProgress, BSTR FAR* pstrProgressTip);
- afx_msg long GetRegInt(LPCTSTR strName1, LPCTSTR strName2, long iDefault);
- afx_msg BSTR GetRegStr(LPCTSTR strName1, LPCTSTR strName2, LPCTSTR strDefault);
- afx_msg void SetRegInt(LPCTSTR strName1, LPCTSTR strName2, long iValue);
- afx_msg void SetRegStr(LPCTSTR strName1, LPCTSTR strName2, LPCTSTR strValue);
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
- DECLARE_INTERFACE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CONVDWG2KMG_H__C4AA9747_3C6A_47F9_9870_24F73807CA20__INCLUDED_)