ConvKmg2Dwg.h
上传用户:hell82222
上传日期:2013-12-19
资源大小:1872k
文件大小:2k
源码类别:

CAD

开发平台:

Visual C++

  1. #if !defined(AFX_CONVKMG2DWG_H__3DF6F2FC_0CD2_4031_8FFB_EDF0B38F8046__INCLUDED_)
  2. #define AFX_CONVKMG2DWG_H__3DF6F2FC_0CD2_4031_8FFB_EDF0B38F8046__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ConvKmg2Dwg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CConvKmg2Dwg command target
  10. #include "ProgressInfo.h"
  11. #include "KmgReader.h"
  12. #include "DwgConverter.h"
  13. class CConvKmg2Dwg : public CCmdTarget
  14. {
  15. DECLARE_DYNCREATE(CConvKmg2Dwg)
  16. CConvKmg2Dwg();           // protected constructor used by dynamic creation
  17. // Attributes
  18. public:
  19. CProgressInfo* m_pProgress;
  20. CCommandInfo* m_pCommand;
  21. CKmgReader* m_pReader;
  22. CDwgConverter* m_pConverter;
  23. // Operations
  24. public:
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CConvKmg2Dwg)
  28. public:
  29. virtual void OnFinalRelease();
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. virtual ~CConvKmg2Dwg();
  34. // Generated message map functions
  35. //{{AFX_MSG(CConvKmg2Dwg)
  36. // NOTE - the ClassWizard will add and remove member functions here.
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. DECLARE_OLECREATE(CConvKmg2Dwg)
  40. // Generated OLE dispatch map functions
  41. //{{AFX_DISPATCH(CConvKmg2Dwg)
  42. afx_msg BOOL BeginConverter(LPCTSTR strRegistryKey);
  43. afx_msg BOOL EndConverter();
  44. afx_msg BOOL ConverterKmg2Dwg(LPCTSTR strKmgFilename, LPCTSTR strDwgFilename);
  45.     afx_msg BOOL GetProgressInfo(double FAR* pdProgress, BSTR FAR* pstrProgressTip);
  46. //}}AFX_DISPATCH
  47. DECLARE_DISPATCH_MAP()
  48. DECLARE_INTERFACE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_CONVKMG2DWG_H__3DF6F2FC_0CD2_4031_8FFB_EDF0B38F8046__INCLUDED_)