-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 @@ -6,8 +6,14 @@ #include <qstring.h> +//Receiver type +typedef enum _RecType { + REC_IRDA = 0, + REC_BLUETOOTH = 1 +} RecType; + class QLabel; class QTextView; namespace OpieObex { - class Obex; + class ObexBase; class OtherHandler; class Receiver : public QObject { @@ -15,5 +21,5 @@ namespace OpieObex { public: enum { Datebook , AddressBook, Other }; - Receiver(); + Receiver(RecType type); ~Receiver(); @@ -33,5 +39,5 @@ namespace OpieObex { private: - Obex* m_obex; + ObexBase* m_obex; //IR obex }; |