Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / msn / msnp2pincoming.h
blob26694a1793972b19f99ec37d5ab889547fe4c02f
1 /*
2 msn p2p protocol
4 Copyright (c) 2003-2005 by Olivier Goffart <ogoffart@kde.org>
6 Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
8 *************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 *************************************************************************
18 #ifndef MSNP2PINCOMING_H
19 #define MSNP2PINCOMING_H
21 #include "msnp2p.h"
24 class MSNP2PIncoming : public MSNP2P
26 Q_OBJECT
27 public:
28 MSNP2PIncoming( unsigned long int sessionID , MSNP2PDisplatcher *parent);
29 ~MSNP2PIncoming( );
32 virtual void parseMessage(MessageStruct & );
33 virtual void error();
35 //for the display image
36 KTemporaryFile *m_file;
37 QFile *m_Rfile;
38 QString m_obj;
40 QString fullContentMessage; //used for typewrited images messages
43 Kopete::Transfer *m_kopeteTransfer;
45 public slots:
46 /**
47 * Abort the current transfer.
49 void abortCurrentTransfer();
50 void slotKopeteTransferDestroyed();
54 #endif