summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/netmeeting/netmeetinginvitation.h
blob: 8e1be1124d70c5d74ffb1a4c66629e04e70e67a5 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
    netmeetinginvitation.cpp

    Copyright (c) 2003 by Olivier Goffart        <ogoffart @ kde.org>

    Kopete    (c) 2003 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 MSNVOICEINVITATION_H
#define MSNVOICEINVITATION_H

#include <tqobject.h>
#include "msninvitation.h"

class MSNContact;

/**
 *@author Olivier Goffart
 */
class NetMeetingInvitation : public TQObject , public MSNInvitation
{
Q_OBJECT
  TQ_OBJECT
public:
	NetMeetingInvitation(bool incoming ,MSNContact*, TQObject *parent = 0);
	~NetMeetingInvitation();

	static TQString applicationID() { return "44BBA842-CC51-11CF-AAFA-00AA00B6015C"; }
	TQString invitationHead();

	virtual void parseInvitation(const TQString& invitation);

	virtual TQObject* object() { return this; }

signals:
	void done( MSNInvitation * );

private slots:
	void slotTimeout();

private:
	MSNContact *m_contact;
	bool oki;
	void startMeeting(const TQString & ip_address);

};


#endif