-rw-r--r-- | core/obex/obexsend.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/obex/obexsend.h b/core/obex/obexsend.h index f9ba340..cc27354 100644 --- a/core/obex/obexsend.h +++ b/core/obex/obexsend.h @@ -18,13 +18,15 @@ class QVBoxLayout; * It will attemp to smart and be able to send * it to multiple (selected) devices. * It'll support BT + IrDa */ namespace OpieObex { class Obex; +#ifdef BLUETOOTH class BtObex; +#endif struct Pair { Pair(const QString& first = QString::null, const QString& second = QString::null) : m_first(first), m_second(second ) { } @@ -41,13 +43,15 @@ namespace OpieObex { ~SendWidget(); QString file()const; protected: void closeEvent( QCloseEvent* ); +#ifdef BLUETOOTH void read_receivers(); +#endif public slots: void send( const QString& file, const QString& desc ); signals: void done(); @@ -60,12 +64,13 @@ namespace OpieObex { private slots: // QCOP slots /* IrDa Names*/ void slotIrDaDevices( const QStringList& ); /* Bt Names + BD-Addr */ void slotBTDevices( const QMap<QString, QString>& ); + void slotSelectedDevice( int id, int dev ); void dispatchIrda( const QCString& str, const QByteArray& ar ); void slotIrError( int ); void slotIrSent(bool); @@ -84,16 +89,20 @@ namespace OpieObex { void setReceiverStatus( int id, const QString& status ); bool receiverSelected(int id); int m_start; QMap<int, QString> m_irDa; QMap<int, QString>::Iterator m_irDaIt; +#ifdef BLUETOOTH QMap<int, Pair > m_bt; QMap<int, Pair>::Iterator m_btIt; +#endif QMap<int, QListViewItem *> receivers; QString m_file; Obex* m_obex; +#ifdef BLUETOOTH BtObex* m_btobex; +#endif }; } #endif |