mrDarker
2025-09-04 1c8098f74227411b5417c560eb7e6d7c0a61ae6e
SourceCode/Bond/Servo/Configuration.cpp
@@ -160,3 +160,19 @@
   return GetPrivateProfileInt(_T("Master"), _T("CompareMapsBeforeProceeding"), 0, m_strFilepath);
}
BOOL CConfiguration::isJobMode()
{
   return GetPrivateProfileInt(_T("Master"), _T("JobMode"), 0, m_strFilepath);
}
void CConfiguration::setContinuousTransferCount(int round)
{
   WritePrivateProfileString(_T("Master"), _T("CTRound"),
      std::to_string(round).c_str(), m_strFilepath);
}
int CConfiguration::getContinuousTransferCount()
{
   return GetPrivateProfileInt(_T("Master"), _T("CTRound"), 0, m_strFilepath);
}