| 450 | |
| 451 | |
| 452 | GVariant *RequiresQueue::QueueCheckGVariant(GVariant *parameters) const noexcept |
| 453 | { |
| 454 | glib2::Utils::checkParams(__func__, parameters, "(uu)", 2); |
| 455 | ClientAttentionType type = glib2::Value::Extract<ClientAttentionType>(parameters, 0); |
| 456 | ClientAttentionGroup group = glib2::Value::Extract<ClientAttentionGroup>(parameters, 1); |
| 457 | |
| 458 | // Convert the std::vector to a GVariant based array GDBus can use |
| 459 | // as the method call response |
| 460 | GVariant *ret = glib2::Value::CreateTupleWrapped<uint32_t>(QueueCheck(type, group)); |
| 461 | callbacks.RunCallback(CallbackType::QUEUE_CHECK); |
| 462 | return ret; |
| 463 | } |
| 464 | |
| 465 | |
| 466 | bool RequiresQueue::QueueAllDone() const noexcept |