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.

30 lines
838 B

  1. #include "StdAfx.h"
  2. #include "ADMTScript.h"
  3. #include "Options.h"
  4. #include "ADMTCommon.h"
  5. //---------------------------------------------------------------------------
  6. // Options Class
  7. //---------------------------------------------------------------------------
  8. // Constructor
  9. COptions::COptions(const CVarSet& rVarSet) :
  10. CVarSet(rVarSet)
  11. {
  12. Put(DCTVS_Options_MaxThreads, 20L);
  13. // TODO: these credentials are used during security translation?
  14. Put(DCTVS_Options_Credentials_Domain, (LPCTSTR)NULL);
  15. Put(DCTVS_Options_Credentials_UserName, (LPCTSTR)NULL);
  16. Put(DCTVS_Options_Credentials_Password, (LPCTSTR)NULL);
  17. _bstr_t strLogFolder = GetLogFolder();
  18. Put(DCTVS_Options_AppendToLogs, true);
  19. Put(DCTVS_Options_DispatchLog, strLogFolder + _T("Dispatch.log"));
  20. Put(DCTVS_Options_Logfile, strLogFolder + _T("Migration.log"));
  21. }