示例#1
0
/*static*/ String _CRhoAppAdapter::getErrorText(int nError)
{
//    if ( sync::CSyncThread::getInstance()->isNoThreadedMode() || !sync::CSyncThread::getInstance()->getSyncEngine().getNotify().isReportingEnabled() )
	if ( (!sync::RhoconnectClientManager::haveRhoconnectClientImpl()) || (!sync::RhoconnectClientManager::syncEngineNotifyIsReportingEnabled()) )
        return String();
#ifndef RHO_NO_RUBY_API
    return rho_ruby_getErrorText(nError);
#else
    return String();
#endif
}
示例#2
0
/*static*/ String _CRhoAppAdapter::getErrorText(int nError)
{
    return rho_ruby_getErrorText(nError);
}