-rw-r--r-- | core/obex/obexhandler.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/obex/obexhandler.h b/core/obex/obexhandler.h index 230c4f0..de2232e 100644 --- a/core/obex/obexhandler.h +++ b/core/obex/obexhandler.h | |||
@@ -2,8 +2,9 @@ | |||
2 | #define OPIE_OBEX_HANDLER_H | 2 | #define OPIE_OBEX_HANDLER_H |
3 | 3 | ||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | #include <qstring.h> | 5 | #include <qstring.h> |
6 | #include "receiver.h" | ||
6 | 7 | ||
7 | namespace OpieObex { | 8 | namespace OpieObex { |
8 | /* | 9 | /* |
9 | * The handler is responsible for handling receiving | 10 | * The handler is responsible for handling receiving |
@@ -20,19 +21,19 @@ namespace OpieObex { | |||
20 | ~ObexHandler(); | 21 | ~ObexHandler(); |
21 | 22 | ||
22 | private slots: | 23 | private slots: |
23 | void doSend(const QString&,const QString& ); | 24 | void doSend(const QString&,const QString& ); |
24 | void doReceive(bool b); | 25 | void doReceive(RecType type, bool b); |
25 | void slotSent(); | 26 | void slotSent(); |
26 | 27 | ||
27 | private slots: // QCOP message | 28 | private slots: // QCOP message |
28 | void irdaMessage( const QCString&, const QByteArray& ); | 29 | void irdaMessage( const QCString&, const QByteArray& ); |
29 | 30 | ||
30 | private: | 31 | private: |
31 | SendWidget* m_sender; | 32 | SendWidget* m_sender; |
32 | Receiver* m_receiver; | 33 | Receiver* m_receiver[2]; //For IRDA and Bluetooth |
33 | bool m_wasRec : 1; | 34 | bool m_wasRec[2]; |
34 | 35 | RecType m_type; //receiver type (IRDA or Bluetooth) | |
35 | }; | 36 | }; |
36 | } | 37 | } |
37 | 38 | ||
38 | 39 | ||