MCPcopy Create free account
hub / github.com/Zalafina/QKeyMapper / doLoadInterception

Method doLoadInterception

QKeyMapper/interception_worker.cpp:250–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250bool Interception_Worker::doLoadInterception()
251{
252 bool result = false;
253 s_InterceptionContext = interception_create_context();
254 if (s_InterceptionContext == Q_NULLPTR) {
255 result = false;
256#ifdef DEBUG_LOGOUT_ON
257 qDebug().nospace() << "[doLoadInterception] interception_create_context() Failed!!!";
258#endif
259 }
260 else {
261 result = true;
262#ifdef DEBUG_LOGOUT_ON
263 qDebug().nospace() << "[doLoadInterception] interception_create_context() Success.";
264#endif
265 }
266
267 return result;
268}
269
270void Interception_Worker::doUnloadInterception()
271{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected