| 91 | |
| 92 | template<typename T> |
| 93 | typename std::enable_if<AutoConnectUtil::has_func_onProgress<T>::value, AutoConnectUpdateAct::AC_UPDATEDIALOG_t>::type onProgress(T& updater, UpdateVariedClass::THandlerFunction_Progress fn) { |
| 94 | updater.onProgress(fn); |
| 95 | AC_DBG("Updater keeps callback\n"); |
| 96 | return AutoConnectUpdateAct::UPDATEDIALOG_METER; |
| 97 | } |
| 98 | |
| 99 | template<typename T> |
| 100 | typename std::enable_if<!AutoConnectUtil::has_func_onProgress<T>::value, AutoConnectUpdateAct::AC_UPDATEDIALOG_t>::type onProgress(T& updater, UpdateVariedClass::THandlerFunction_Progress fn) { |
nothing calls this directly
no test coverage detected