| 365 | } |
| 366 | |
| 367 | Interception_Worker::Interception_State Interception_Worker::getInterceptionState() |
| 368 | { |
| 369 | if (s_RebootRequired) { |
| 370 | return INTERCEPTION_REBOOTREQUIRED; |
| 371 | } |
| 372 | |
| 373 | if (s_InterceptionContext != Q_NULLPTR) { |
| 374 | return INTERCEPTION_AVAILABLE; |
| 375 | } |
| 376 | else { |
| 377 | if (isInterceptionDriverFileExist()) { |
| 378 | return INTERCEPTION_REBOOTREQUIRED; |
| 379 | } |
| 380 | else { |
| 381 | return INTERCEPTION_UNAVAILABLE; |
| 382 | } |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | void Interception_Worker::setRebootRequiredFlag() |
| 387 | { |
nothing calls this directly
no outgoing calls
no test coverage detected