summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle/jinglewatchsessiontask.h
blob: 09dbdbce2d98d90997b1ba263fe40bc8870ad161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
    jingleswatchsessiontask.h - Watch for incoming Jingle sessions.

    Copyright (c) 2006      by Michaƫl Larouche     <michael.larouche@kdemail.net>

    Kopete    (c) 2001-2006 by the Kopete developers <kopete-devel@kde.org>

    *************************************************************************
    *                                                                       *
    * This program is free software; you can redistribute it and/or modify  *
    * it under the terms of the GNU General Public License as published by  *
    * the Free Software Foundation; either version 2 of the License, or     *
    * (at your option) any later version.                                   *
    *                                                                       *
    *************************************************************************
*/
#ifndef JINGLEWATCHSESSIONTASK_H
#define JINGLEWATCHSESSIONTASK_H

#include <xmpp_tasks.h>

/**
 * This task watch for incoming Jingle session and notify manager.
 * It is declared in the header to be "moc"-able.
 */
class JingleWatchSessionTask : public XMPP::Task
{
	Q_OBJECT
public:
	JingleWatchSessionTask(XMPP::Task *parent);
	~JingleWatchSessionTask();

	bool take(const TQDomElement &element);

signals:
	void watchSession(const TQString &sessionType, const TQString &initiator);
};

#endif