void SDManager::RequestItems (ClientConnection::DiscoCallback_t callback, const QString& jid, const QString& node) { auto f = [this] (const QString& jid, ClientConnection::DiscoCallback_t cb, const QString& node) { Conn_->RequestItems (jid, cb, node); }; CommonDo (Items_, f, callback, jid, node); }
void SDManager::RequestItems (DiscoManagerWrapper::DiscoCallback_t callback, const QString& jid, const QString& node) { auto f = [this] (const QString& jid, DiscoManagerWrapper::DiscoCallback_t cb, const QString& node) { Conn_->GetDiscoManagerWrapper ()->RequestItems (jid, cb, false, node); }; CommonDo (Items_, f, callback, jid, node); }