| Index: third_party/xmpp/presenceouttask.h
|
| diff --git a/third_party/xmpp/presenceouttask.h b/third_party/xmpp/presenceouttask.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..71654a1a70cdc8c9c671c9f14e4e1e836e9a3272
|
| --- /dev/null
|
| +++ b/third_party/xmpp/presenceouttask.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2004 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WEBRTC_LIBJINGLE_XMPP_PRESENCEOUTTASK_H_
|
| +#define WEBRTC_LIBJINGLE_XMPP_PRESENCEOUTTASK_H_
|
| +
|
| +#include "third_party/xmpp/presencestatus.h"
|
| +#include "third_party/xmpp/xmppengine.h"
|
| +#include "third_party/xmpp/xmpptask.h"
|
| +
|
| +namespace buzz {
|
| +
|
| +class PresenceOutTask : public XmppTask {
|
| +public:
|
| + explicit PresenceOutTask(XmppTaskParentInterface* parent)
|
| + : XmppTask(parent) {}
|
| + virtual ~PresenceOutTask() {}
|
| +
|
| + XmppReturnStatus Send(const PresenceStatus & s);
|
| + XmppReturnStatus SendDirected(const Jid & j, const PresenceStatus & s);
|
| + XmppReturnStatus SendProbe(const Jid& jid);
|
| +
|
| + virtual int ProcessStart();
|
| +private:
|
| + XmlElement * TranslateStatus(const PresenceStatus & s);
|
| +};
|
| +
|
| +}
|
| +
|
| +#endif // WEBRTC_LIBJINGLE_XMPP_PRESENCEOUTTASK_H_
|
|
|