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

#include "StdAfx.h"
#include "ADMTScript.h"
#include "Options.h"
#include "ADMTCommon.h"
//---------------------------------------------------------------------------
// Options Class
//---------------------------------------------------------------------------
// Constructor
COptions::COptions(const CVarSet& rVarSet) :
CVarSet(rVarSet)
{
Put(DCTVS_Options_MaxThreads, 20L);
// TODO: these credentials are used during security translation?
Put(DCTVS_Options_Credentials_Domain, (LPCTSTR)NULL);
Put(DCTVS_Options_Credentials_UserName, (LPCTSTR)NULL);
Put(DCTVS_Options_Credentials_Password, (LPCTSTR)NULL);
_bstr_t strLogFolder = GetLogFolder();
Put(DCTVS_Options_AppendToLogs, true);
Put(DCTVS_Options_DispatchLog, strLogFolder + _T("Dispatch.log"));
Put(DCTVS_Options_Logfile, strLogFolder + _T("Migration.log"));
}