author | korovkin <korovkin> | 2006-12-03 14:09:33 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-12-03 14:09:33 (UTC) |
commit | a691909050b60b94f5525093062c23d0fab11d1b (patch) (side-by-side diff) | |
tree | 1e1d82e76d85cd75c094ae36441ec852bb5ac456 /core/obex/obexsend.h | |
parent | 9813113f0024205e09af9e54328287dd859fa2e8 (diff) | |
download | opie-a691909050b60b94f5525093062c23d0fab11d1b.zip opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.gz opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.bz2 |
Made OBEX library buildable if bluetooth support is disabled.
-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 @@ -21,7 +21,9 @@ class QVBoxLayout; */ namespace OpieObex { class Obex; +#ifdef BLUETOOTH class BtObex; +#endif struct Pair { Pair(const QString& first = QString::null, @@ -44,7 +46,9 @@ namespace OpieObex { protected: void closeEvent( QCloseEvent* ); +#ifdef BLUETOOTH void read_receivers(); +#endif public slots: void send( const QString& file, const QString& desc ); @@ -63,6 +67,7 @@ namespace OpieObex { 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 ); @@ -87,12 +92,16 @@ namespace OpieObex { 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 }; } |