| 61 | } |
| 62 | |
| 63 | bool SvnInternalJobBase::contextGetLogin( const std::string& realm, |
| 64 | std::string& username, std::string& password, |
| 65 | bool& maySave ) |
| 66 | { |
| 67 | |
| 68 | emit needLogin( QString::fromUtf8( realm.c_str() ) ); |
| 69 | m_guiSemaphore.acquire( 1 ); |
| 70 | QMutexLocker l(&m_mutex); |
| 71 | if( m_login_username.isEmpty() || m_login_password.isEmpty() ) |
| 72 | return false; |
| 73 | username = std::string(m_login_username.toUtf8().constData()); |
| 74 | password = std::string(m_login_password.toUtf8().constData()); |
| 75 | maySave = this->m_maySave; |
| 76 | return true; |
| 77 | } |
| 78 | |
| 79 | void SvnInternalJobBase::contextNotify( const char* path, svn_wc_notify_action_t action, |
| 80 | svn_node_kind_t kind, const char* mimetype, |
no test coverage detected