| 432 | |
| 433 | |
| 434 | std::vector<uint32_t> RequiresQueue::QueueCheck(ClientAttentionType type, |
| 435 | ClientAttentionGroup group) const noexcept |
| 436 | { |
| 437 | std::vector<uint32_t> ret; |
| 438 | for (auto &e : slots) |
| 439 | { |
| 440 | if (type == e.type |
| 441 | && group == e.group |
| 442 | && !e.provided) |
| 443 | { |
| 444 | ret.push_back(e.id); |
| 445 | } |
| 446 | } |
| 447 | callbacks.RunCallback(CallbackType::QUEUE_CHECK); |
| 448 | return ret; |
| 449 | } |
| 450 | |
| 451 | |
| 452 | GVariant *RequiresQueue::QueueCheckGVariant(GVariant *parameters) const noexcept |