| 69 | } |
| 70 | |
| 71 | bool screentask::run() |
| 72 | { |
| 73 | if (quitting > 11) { /* triple quit */ |
| 74 | delete this; |
| 75 | return false; |
| 76 | } |
| 77 | |
| 78 | if (getmilliseconds() - last_report_time >= report_freq) { |
| 79 | report(false); |
| 80 | } |
| 81 | |
| 82 | setPaused(); |
| 83 | return true; |
| 84 | } |
| 85 | |
| 86 | unsigned int screentask::wake() |
| 87 | { |
nothing calls this directly
no test coverage detected