summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/webcam.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-03-29 00:54:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-03-29 00:54:51 +0900
commit0486034738b850c210b1389a8c3ae51a6b9fad23 (patch)
treeb1e3a4dbf9673b5e0031e8225e88f5dd490585a5 /kopete/protocols/msn/webcam.h
parent4bd7620e88d450995b78c201f9e7d9181f62ea6a (diff)
downloadtdenetwork-0486034738b850c210b1389a8c3ae51a6b9fad23.tar.gz
tdenetwork-0486034738b850c210b1389a8c3ae51a6b9fad23.zip
Removed MSN support across Kopete by removing the MSN protocol and the netmeeting plugin.
This resolves bug 1547.
Diffstat (limited to 'kopete/protocols/msn/webcam.h')
-rw-r--r--kopete/protocols/msn/webcam.h92
1 files changed, 0 insertions, 92 deletions
diff --git a/kopete/protocols/msn/webcam.h b/kopete/protocols/msn/webcam.h
deleted file mode 100644
index a056fe24..00000000
--- a/kopete/protocols/msn/webcam.h
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- Copyright (c) 2005 by Olivier Goffart <ogoffart@ 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 P2PWEBCAM_H
-#define P2PWEBCAM_H
-
-#include "p2p.h"
-
-#if MSN_WEBCAM
-
-namespace KNetwork{ class TDEServerSocket; class TDEBufferedSocket; }
-
-class MimicWrapper;
-class TQLabel;
-class MSNWebcamDialog;
-class TQTimerEvent;
-
-namespace P2P {
-
-
-class Webcam : public TransferContext
-{ Q_OBJECT
-
- public:
- enum Who { wProducer , wViewer };
-
- Webcam( Who who , const TQString& to, Dispatcher *parent, TQ_UINT32 sessionID);
- ~Webcam( );
-
- virtual void processMessage(const Message& message);
-
- public slots:
- void askIncommingInvitation();
- virtual void acknowledged();
- void sendBYEMessage();
-
- private:
- void makeSIPMessage(const TQString &message, TQ_UINT8 XX=0, TQ_UINT8 YY=9 , TQ_UINT8 ZZ=0);
- void sendBigP2PMessage( const TQByteArray& dataMessage );
- void closeAllOtherSockets();
- TQString m_content;
-
- TQString xml(uint session , uint rid);
- int getAvailablePort();
-
-
- KNetwork::TDEServerSocket *m_listener;
- KNetwork::TDEBufferedSocket *m_webcamSocket;
-
- enum WebcamStatus { wsNegotiating , wsConnecting, wsConnected, wsTransfer } ;
-
- Who m_who;
-
- TQString m_myAuth;
- TQString m_peerAuth;
-
- MimicWrapper *m_mimic;
- MSNWebcamDialog *m_widget;
-
- TQValueList<KNetwork::TDEBufferedSocket* > m_allSockets;
- TQMap<KNetwork::TDEBufferedSocket*, WebcamStatus> m_webcamStates;
-
- int m_timerId;
- int m_timerFps;
-
- private slots:
- void slotListenError(int errorCode);
- void slotAccept();
- void slotSocketRead();
- void slotSocketClosed();
- void slotSocketError(int errorCode);
- void slotSocketConnected();
-// void slotReadyWrite();
- protected:
- virtual void timerEvent( TQTimerEvent * );
-};
-
-}
-
-#endif
-
-#endif