summaryrefslogtreecommitdiff
path: root/core/obex/obexhandler.h
authorkorovkin <korovkin>2006-07-06 16:28:08 (UTC)
committer korovkin <korovkin>2006-07-06 16:28:08 (UTC)
commit43cd66c08de4447998028179d20fd4817aaf16ca (patch) (side-by-side diff)
tree87888aadc3398c3c633e332cda46d92bb0522d6a /core/obex/obexhandler.h
parentadcfc6f4afe184a9eb6fbf458616494dfe0dadda (diff)
downloadopie-43cd66c08de4447998028179d20fd4817aaf16ca.zip
opie-43cd66c08de4447998028179d20fd4817aaf16ca.tar.gz
opie-43cd66c08de4447998028179d20fd4817aaf16ca.tar.bz2
Added OBEX Push functionality for Bluetooth.
- Added ObexBase - asic class for IR and BT Obex - Added ObexServer - OBEX Push server.
Diffstat (limited to 'core/obex/obexhandler.h') (more/less context) (show whitespace changes)
-rw-r--r--core/obex/obexhandler.h9
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
@@ -1,11 +1,12 @@
#ifndef OPIE_OBEX_HANDLER_H
#define OPIE_OBEX_HANDLER_H
#include <qobject.h>
#include <qstring.h>
+#include "receiver.h"
namespace OpieObex {
/*
* The handler is responsible for handling receiving
* and sending
* It will connect to the IrDa QCOP channel and then
@@ -18,22 +19,22 @@ namespace OpieObex {
public:
ObexHandler();
~ObexHandler();
private slots:
void doSend(const QString&,const QString& );
- void doReceive(bool b);
+ void doReceive(RecType type, bool b);
void slotSent();
private slots: // QCOP message
void irdaMessage( const QCString&, const QByteArray& );
private:
SendWidget* m_sender;
- Receiver* m_receiver;
- bool m_wasRec : 1;
-
+ Receiver* m_receiver[2]; //For IRDA and Bluetooth
+ bool m_wasRec[2];
+ RecType m_type; //receiver type (IRDA or Bluetooth)
};
}
#endif