MCPcopy Create free account
hub / github.com/Hieromon/AutoConnect / onProgress

Function onProgress

src/AutoConnectUpdate.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92template<typename T>
93typename 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
99template<typename T>
100typename std::enable_if<!AutoConnectUtil::has_func_onProgress<T>::value, AutoConnectUpdateAct::AC_UPDATEDIALOG_t>::type onProgress(T& updater, UpdateVariedClass::THandlerFunction_Progress fn) {

Callers

nothing calls this directly

Calls 1

onProgressMethod · 0.80

Tested by

no test coverage detected