/* * SendString - The interface method for CKeySend * * The actual work is done by DoSendString above. This function just * just throws an exception if DoSendString encounters an error. * */ void pws_os::SendString(const StringX& str, AutotypeMethod method, unsigned delayMS) { atGlobals.error_detected = false; atGlobals.errorString[0] = 0; DoSendString(str, method, delayMS); if (atGlobals.error_detected) throw autotype_exception(); }
void CKeySendImpl::SendString(const StringX& str, unsigned delayMS) { atGlobals.error_detected = false; atGlobals.errorString[0] = 0; DoSendString(str, delayMS, m_emulateModsSeparately); if (atGlobals.error_detected) throw autotype_exception(); }