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.

56 lines
1.2 KiB

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