summaryrefslogtreecommitdiff
path: root/core/obex/receiver.cpp
authorkorovkin <korovkin>2006-12-03 14:09:33 (UTC)
committer korovkin <korovkin>2006-12-03 14:09:33 (UTC)
commita691909050b60b94f5525093062c23d0fab11d1b (patch) (side-by-side diff)
tree1e1d82e76d85cd75c094ae36441ec852bb5ac456 /core/obex/receiver.cpp
parent9813113f0024205e09af9e54328287dd859fa2e8 (diff)
downloadopie-a691909050b60b94f5525093062c23d0fab11d1b.zip
opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.gz
opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.bz2
Made OBEX library buildable if bluetooth support is disabled.
Diffstat (limited to 'core/obex/receiver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/receiver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/obex/receiver.cpp b/core/obex/receiver.cpp
index e153152..3190353 100644
--- a/core/obex/receiver.cpp
+++ b/core/obex/receiver.cpp
@@ -31,8 +31,10 @@ using namespace Opie::Core;
Receiver::Receiver(RecType type) {
if (type == REC_IRDA)
m_obex = new Obex(this, "Receiver");
+#ifdef BLUETOOTH
else
m_obex = new BtObex(this, "Receiver");
+#endif
connect(m_obex, SIGNAL(receivedFile(const QString&) ),
this, SLOT(slotReceived(const QString&) ) );
m_obex->receive();