| 20065 | } |
| 20066 | |
| 20067 | void QKeyMapper_Worker::initGlobalSendInputTaskController() |
| 20068 | { |
| 20069 | SendInputTaskController &controller = SendInputTask::s_GlobalSendInputTaskController; |
| 20070 | controller.task_threadpool = new QThreadPool(); |
| 20071 | controller.task_threadpool->setMaxThreadCount(1); |
| 20072 | controller.task_stop_mutex = new QMutex(); |
| 20073 | controller.task_stop_condition = new QWaitCondition(); |
| 20074 | controller.task_stop_flag = new QAtomicInt(INPUTSTOP_NONE); |
| 20075 | controller.task_pause_state = new QAtomicInt(KEYSEQUENCE_PAUSE_STATE_NONE); |
| 20076 | controller.task_rowindex = INITIAL_ROW_INDEX; |
| 20077 | controller.task_keyup_sent = false; |
| 20078 | } |
| 20079 | |
| 20080 | void QKeyMapper_Worker::resetGlobalSendInputTaskController() |
| 20081 | { |
nothing calls this directly
no outgoing calls
no test coverage detected