summaryrefslogtreecommitdiff
path: root/core/obex/receiver.h
authorkorovkin <korovkin>2006-07-06 16:28:08 (UTC)
committer korovkin <korovkin>2006-07-06 16:28:08 (UTC)
commit43cd66c08de4447998028179d20fd4817aaf16ca (patch) (unidiff)
tree87888aadc3398c3c633e332cda46d92bb0522d6a /core/obex/receiver.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/receiver.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/receiver.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/obex/receiver.h b/core/obex/receiver.h
index e1d54df..a10ea13 100644
--- a/core/obex/receiver.h
+++ b/core/obex/receiver.h
@@ -6,8 +6,14 @@
6#include <qstring.h> 6#include <qstring.h>
7 7
8//Receiver type
9typedef enum _RecType {
10 REC_IRDA = 0,
11 REC_BLUETOOTH = 1
12} RecType;
13
8class QLabel; 14class QLabel;
9class QTextView; 15class QTextView;
10namespace OpieObex { 16namespace OpieObex {
11 class Obex; 17 class ObexBase;
12 class OtherHandler; 18 class OtherHandler;
13 class Receiver : public QObject { 19 class Receiver : public QObject {
@@ -15,5 +21,5 @@ namespace OpieObex {
15 public: 21 public:
16 enum { Datebook , AddressBook, Other }; 22 enum { Datebook , AddressBook, Other };
17 Receiver(); 23 Receiver(RecType type);
18 ~Receiver(); 24 ~Receiver();
19 25
@@ -33,5 +39,5 @@ namespace OpieObex {
33 39
34 private: 40 private:
35 Obex* m_obex; 41 ObexBase* m_obex; //IR obex
36 }; 42 };
37 43