Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

232 lines
5.2 KiB

  1. #if !defined(AFX_NEWPROJECT_H__CC553456_AD1E_4816_8A20_5DF52F336FA6__INCLUDED_)
  2. #define AFX_NEWPROJECT_H__CC553456_AD1E_4816_8A20_5DF52F336FA6__INCLUDED_
  3. //#include "minidev.h" // Added by ClassView
  4. #include "utility.h" // Added by ClassView
  5. #if _MSC_VER >= 1000
  6. #pragma once
  7. #endif // _MSC_VER >= 1000
  8. // NewProject.h : header file
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CConvPfmDlg dialog
  12. class CConvPfmDlg : public CPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CConvPfmDlg)
  15. // Construction
  16. public:
  17. CConvPfmDlg();
  18. ~CConvPfmDlg();
  19. // Dialog Data
  20. //{{AFX_DATA(CConvPfmDlg)
  21. enum { IDD = IDD_ConvertPFM };
  22. CComboBox m_ccbCodepages;
  23. CString m_csGttPath;
  24. CString m_csPfmPath;
  25. CString m_csUfmDir;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generate virtual function overrides
  29. //{{AFX_VIRTUAL(CConvPfmDlg)
  30. public:
  31. virtual BOOL OnWizardFinish();
  32. virtual LRESULT OnWizardBack();
  33. virtual BOOL OnSetActive();
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(CConvPfmDlg)
  41. afx_msg void OnGTTBrowser();
  42. afx_msg void OnPFMBrowsers();
  43. afx_msg void OnSelchangeComboCodePage();
  44. afx_msg void OnUfmDirBrowser();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. private:
  48. bool ConvPFMToUFM();
  49. CStringArray m_csaPfmFiles;
  50. };
  51. /////////////////////////////////////////////////////////////////////////////
  52. // CConverPFM
  53. class CConvertPFM : public CPropertySheet
  54. {
  55. DECLARE_DYNAMIC(CConvertPFM)
  56. // Construction
  57. public:
  58. CConvertPFM(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  59. CConvertPFM(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  60. // Attributes
  61. public:
  62. private:
  63. CConvPfmDlg m_ccpd ;
  64. // Operations
  65. public:
  66. // Overrides
  67. // ClassWizard generated virtual function overrides
  68. //{{AFX_VIRTUAL(CConverPFM)
  69. //}}AFX_VIRTUAL
  70. // Implementation
  71. public:
  72. virtual ~CConvertPFM();
  73. // Generated message map functions
  74. protected:
  75. //{{AFX_MSG(CConverPFM)
  76. // NOTE - the ClassWizard will add and remove member functions here.
  77. //}}AFX_MSG
  78. DECLARE_MESSAGE_MAP()
  79. };
  80. /////////////////////////////////////////////////////////////////////////////
  81. // CConvCttDlg dialog
  82. class CConvCttDlg : public CPropertyPage
  83. {
  84. DECLARE_DYNCREATE(CConvCttDlg)
  85. // Construction
  86. public:
  87. CConvCttDlg();
  88. ~CConvCttDlg();
  89. // Dialog Data
  90. //{{AFX_DATA(CConvCttDlg)
  91. enum { IDD = IDD_ConvertCTT };
  92. CComboBox m_ccbCodepages;
  93. CString m_csCttPath;
  94. CStringArray m_csaCttFiles ;
  95. CString m_csGttDir;
  96. //}}AFX_DATA
  97. // Overrides
  98. // ClassWizard generate virtual function overrides
  99. //{{AFX_VIRTUAL(CConvCttDlg)
  100. public:
  101. virtual BOOL OnWizardFinish();
  102. virtual LRESULT OnWizardBack();
  103. virtual BOOL OnSetActive();
  104. protected:
  105. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  106. //}}AFX_VIRTUAL
  107. // Implementation
  108. protected:
  109. // Generated message map functions
  110. //{{AFX_MSG(CConvCttDlg)
  111. afx_msg void OnCTTBrowser();
  112. //}}AFX_MSG
  113. DECLARE_MESSAGE_MAP()
  114. private:
  115. bool ConvCTTToGTT();
  116. };
  117. /////////////////////////////////////////////////////////////////////////////
  118. // CConvertCTT
  119. class CConvertCTT : public CPropertySheet
  120. {
  121. DECLARE_DYNAMIC(CConvertCTT)
  122. // Construction
  123. public:
  124. CConvertCTT(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  125. CConvertCTT(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  126. // Attributes
  127. public:
  128. private:
  129. CConvCttDlg m_cccd ;
  130. // Operations
  131. public:
  132. // Overrides
  133. // ClassWizard generated virtual function overrides
  134. //{{AFX_VIRTUAL(CConvertCTT)
  135. //}}AFX_VIRTUAL
  136. // Implementation
  137. public:
  138. virtual ~CConvertCTT();
  139. // Generated message map functions
  140. protected:
  141. //{{AFX_MSG(CConvertCTT)
  142. // NOTE - the ClassWizard will add and remove member functions here.
  143. //}}AFX_MSG
  144. DECLARE_MESSAGE_MAP()
  145. };
  146. /////////////////////////////////////////////////////////////////////////////
  147. // CNewConvert dialog
  148. class CNewConvert : public CPropertyPage
  149. {
  150. DECLARE_DYNCREATE(CNewConvert)
  151. // Construction
  152. public:
  153. CNewConvert();
  154. ~CNewConvert();
  155. // Dialog Data
  156. //{{AFX_DATA(CNewConvert)
  157. enum { IDD = IDD_NewConvert };
  158. // NOTE - ClassWizard will add data members here.
  159. // DO NOT EDIT what you see in these blocks of generated code !
  160. //}}AFX_DATA
  161. // Overrides
  162. // ClassWizard generate virtual function overrides
  163. //{{AFX_VIRTUAL(CNewConvert)
  164. public:
  165. virtual BOOL OnSetActive();
  166. protected:
  167. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  168. //}}AFX_VIRTUAL
  169. // Implementation
  170. protected:
  171. // Generated message map functions
  172. //{{AFX_MSG(CNewConvert)
  173. afx_msg void OnPrjConvert();
  174. afx_msg void OnPFMConvert();
  175. afx_msg void OnCTTConvert();
  176. virtual BOOL OnInitDialog();
  177. //}}AFX_MSG
  178. DECLARE_MESSAGE_MAP()
  179. private:
  180. // CSafeObArray m_csoaModels,m_csoaFonts,m_csoaAtlas;
  181. CPropertySheet * m_pcps;
  182. };
  183. //{{AFX_INSERT_LOCATION}}
  184. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  185. #endif // !defined(AFX_NEWPROJECT_H__CC553456_AD1E_4816_8A20_5DF52F336FA6__INCLUDED_)