Source code of Windows XP (NT5)
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.

54 lines
1.2 KiB

  1. // editscri.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "ISAdmin.h"
  5. #include "editscri.h"
  6. #ifdef _DEBUG
  7. #undef THIS_FILE
  8. static char BASED_CODE THIS_FILE[] = __FILE__;
  9. #endif
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CEditScript dialog
  12. CEditScript::CEditScript(CWnd* pParent, LPCTSTR pchFileExtension, LPCTSTR pchScriptMap)
  13. : CDialog(CEditScript::IDD, pParent)
  14. {
  15. //{{AFX_DATA_INIT(CEditScript)
  16. m_strFileExtension = pchFileExtension;
  17. m_strScriptMap = pchScriptMap;
  18. //}}AFX_DATA_INIT
  19. }
  20. void CEditScript::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(CEditScript)
  24. DDX_Text(pDX, IDC_EDITSCRIPTFILEEXTENSIONDATA1, m_strFileExtension);
  25. DDX_Text(pDX, IDC_EDITSCRIPTMAPPINGDATA1, m_strScriptMap);
  26. //}}AFX_DATA_MAP
  27. }
  28. BEGIN_MESSAGE_MAP(CEditScript, CDialog)
  29. //{{AFX_MSG_MAP(CEditScript)
  30. // NOTE: the ClassWizard will add message map macros here
  31. //}}AFX_MSG_MAP
  32. END_MESSAGE_MAP()
  33. /////////////////////////////////////////////////////////////////////////////
  34. // CEditScript message handlers
  35. LPCTSTR CEditScript::GetFileExtension()
  36. {
  37. return (m_strFileExtension);
  38. }
  39. LPCTSTR CEditScript::GetScriptMap()
  40. {
  41. return (m_strScriptMap);
  42. }