-rw-r--r-- | core/obex/receiver.h | 12 |
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 @@ -7,2 +7,8 @@ +//Receiver type +typedef enum _RecType { + REC_IRDA = 0, + REC_BLUETOOTH = 1 +} RecType; + class QLabel; @@ -10,3 +16,3 @@ class QTextView; namespace OpieObex { - class Obex; + class ObexBase; class OtherHandler; @@ -16,3 +22,3 @@ namespace OpieObex { enum { Datebook , AddressBook, Other }; - Receiver(); + Receiver(RecType type); ~Receiver(); @@ -34,3 +40,3 @@ namespace OpieObex { private: - Obex* m_obex; + ObexBase* m_obex; //IR obex }; |