| 153 | } |
| 154 | |
| 155 | void Application::PrivateData::quit() |
| 156 | { |
| 157 | if (! isThisTheMainThread(mainThreadHandle)) |
| 158 | { |
| 159 | if (! isQuittingInNextCycle) |
| 160 | { |
| 161 | isQuittingInNextCycle = true; |
| 162 | return; |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | isQuitting = true; |
| 167 | |
| 168 | #ifndef DPF_TEST_APPLICATION_CPP |
| 169 | for (WindowListReverseIterator rit = windows.rbegin(), rite = windows.rend(); rit != rite; ++rit) |
| 170 | { |
| 171 | DGL_NAMESPACE::Window* const window(*rit); |
| 172 | window->close(); |
| 173 | } |
| 174 | #endif |
| 175 | } |
| 176 | |
| 177 | double Application::PrivateData::getTime() const |
| 178 | { |
nothing calls this directly
no test coverage detected