blob: ac662503f107ca657d04749f3aeaeb139b4f3b20 [file] [log] [blame]
* Copyright 2012 The WebRTC Project Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
#include "webrtc/libjingle/xmpp/iqtask.h"
namespace buzz {
// Task to request a unique hangout id to be used when starting a hangout.
// The protocol is described in
// document/d/1EFLT6rCYPDVdqQXSQliXwqB3iUkpZJ9B_MNFeOZgN7g/edit
class MucRoomUniqueHangoutIdTask : public buzz::IqTask {
MucRoomUniqueHangoutIdTask(buzz::XmppTaskParentInterface* parent,
const Jid& lookup_server_jid);
// signal(task, hangout_id)
sigslot::signal2<MucRoomUniqueHangoutIdTask*, const std::string&> SignalResult;
virtual void HandleResult(const buzz::XmlElement* stanza);
static buzz::XmlElement* MakeUniqueRequestXml();
} // namespace buzz